Frame Timing API
- Category
- Performance
- Type
- New or changed feature
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
Summary
This specification defines an interface to help web developers measure the rendering performance of their applications in the wild. The API provides frame performance data, as experienced by the end user on their device, to facilitate smoothness measurements (i.e. Frames per Second and Time to Frame). This is done by capturing events for main frame and impl (compositor) thread actions, and exposing them to JavaScript via the Performance Timeline.
Standards & signals
- Specification: http://w3c.github.io/frame-timing/
- Firefox: In development
- Safari: No signal
- Web developers: Positive
- Tracking bug: https://code.google.com/p/chromium/issues/detail?id=120796
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=frame-timing-api
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Frame%20Timing%20API
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Frame%20Timing%20API
- Baseline status: https://webstatus.dev/?q=Frame%20Timing%20API
Docs: https://github.com/w3c/frame-timing/wiki/Explainer https://www.youtube.com/watch?v=4zoC3eaa9z0