Saturday, February 02, 2013

Fastersite: How (not) to trigger a layout in WebKit

Fastersite: How (not) to trigger a layout in WebKit: "As most web developers are aware, a significant amount of a script's running time may be spent performing DOM operations triggered by the script rather than executing the JS byte code itself. One such potentially costly operation is layout (aka reflow) -- the process of constructing a render tree from a DOM tree. The larger and more complex the DOM, the more expensive this operation may be."

'via Blog this'