Frame rate (FPS)
Frames drawn per second. 60fps is the baseline for smooth motion; 120fps on newer displays.
60fps budgets 16.7ms per frame; 120fps displays halve the budget to 8.3ms.
Frames drawn per second. 60fps is the baseline for smooth motion; 120fps on newer displays.
60fps budgets 16.7ms per frame; 120fps displays halve the budget to 8.3ms.
Visible stutter when the browser drops frames because it can't keep up with the animation.
Missing frames creates visible stuttering jumps in otherwise smooth motion.
A frame the browser missed its deadline to draw, causing a tiny hitch in motion.
24ms > 16.7msExceeding the 16.7ms budget misses the display refresh deadline and drops a frame.
Letting the GPU move or fade an element on its own layer without redoing layout or paint.
GPU compositing moves and fades layers without re-running Layout or Paint.
A CSS hint that an element is about to animate, so the browser can promote it to its own layer ahead of time.
Hints to the browser to promote an element before animation begins.
Animating properties like width, height, top, or left that force the browser to recalculate layout every frame, causing jank.
Animating height pushes neighbors every frame; transform avoids layout recalculation.
Which CSS properties animate. Animating all properties can accidentally catch layout ones and cause jank. Opacity and transform are the safe pair.
Opacity and transform animations run on the GPU and avoid triggering layout recalculation, making them smooth even on lower-end devices. Animating properties like width, height, padding, or top forces the browser to recalculate layout on every frame. The performance difference is significant.