Monitors are *usually* 50-60Hz...
Not all paints are equal
Painting is reallly really slow.
Avoid!
Layer: section of the page, subtree of the DOM. Painted independently, composited on the GPU, and can stretch, move, and fade without repainting.
Use the tools to find painful repaints & hunt down their cause. Watch for:
Unnecessary paints from:
Long paints from:
Want to animate with *no layout* and *no painting*
Sometimes you get "dirty" areas from layout or style recalc, even if the pixels don't change!
Mmmm... jank!
Reducing paint times: continuous painting mode
Advanced Jankbusting: about:tracing & the Chrome Frame Viewer
Lots more at jankfree.org!
Ask yourself:
Use the tools:
For more: