In the Google Chrome console, if you select the Verbose level

    1 answer 1

    To begin with, this is not a mistake.
    This is a warning, deliverance or non-refusal from which is on your conscience.

    The "Verbose" level in the console makes it easier to find performance bottlenecks, in other words, why everything is so tupit. This is usually the code that solves the problem, but you can make it much more optimal.

    So, one of the killers of performance in js is careless manipulation of the DOM, because you can cause a redrawing of what you do not need to redraw. In the hard case this is the so-called layout thrasing .

    In this particular case, Vorning tells you that something has happened on js that caused a significant restructuring of the page without a clear reason for the debugger and tells how much it took. By the way, this is not necessarily bad, it can be difficult to refuse.

    In order to understand how and when browsers decide to redraw something, what repaint and reflow are, I recommend reading this article .

    In general, this message tells you the goal for tuning performance.

    • Now I'll check something and then put a daw. - user208916
    • @Khipster, apparently the check failed? = D - Duck Learns to Take Cover
    • yes all hands did not reach. Yes, you guessed it was a tiny manipulation of the dom. This is not to optimize in my opinion. By the way, on many top sites this comes out, on Yandex, there are as many as 5 such warnings. - user208916
    • @Khipster, yeah, as I wrote - this is not always bad, this is just a hint - Duck Learns to Take Cover