Scroll Frame-Time Profiler
Drives scripted vertical and horizontal scrolling and records per-frame durations, dropped frames and long tasks. Frame pacing reflects perceived smoothness better than single operation latencies.
Planned. This page shows the specification from issue #208. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Standard dataset mounted, vertical constant-speed pattern, 60 Hz budget, histogram empty.
Expected behavior
The grid scrolls automatically; a live sparkline shows frame times. Afterwards a histogram, p50/p95 frame time, percent of frames over budget and long-task count are displayed.
Planned API surface
scrollProfilescrollPattern ['vertical','horizontal','diagonal','jump']frameSampleslongTaskSamplesframeBudgetMsAcceptance criteria
- Scroll is driven by a deterministic script, not by real input events, and this is documented (pending)
- Frame time p50 and p95 and percentage over budget are reported (pending)
- Long tasks over 50 ms are counted when the browser exposes them, otherwise marked unavailable (pending)
- Detected display refresh rate is recorded in metadata (pending)
- Users with reduced-motion preference must confirm before scripted scrolling starts (pending)