Monitors are *usually* 50-60Hz...
Not all paints are equal
Painting is reallly really slow. Don't do it.
No really... don't.
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 when style changes, even if the pixels don't change.
Sometimes you can't avoid it. Continuous painting mode can help.
Ask yourself:
Use the tools:
For more: