DevTools provides numerous ways to analyze frames per second:
Click the buttons below to simulate different frame scenarios:
A partially presented frame occurs when:
A dropped frame happens when:
Both issues impact user experience, but dropped frames typically cause more noticeable performance problems than partially presented frames.
Frame size (or frame budget) is the time available to complete all work for a single frame. It's calculated as:
This means at 32 FPS, you have approximately 31.3 milliseconds to complete all the work required for each frame. If processing takes longer than this budget, frames will be dropped or partially presented, resulting in visual stuttering.
The higher your target FPS, the smaller your frame budget becomes, making performance optimization more critical.
Open DevTools (F12) and select the Performance tab. Start recording and interact with the animation below:
Try to identify: