Repository navigation
Description
Description
The Long Animation Frames API (aka LoAF) defines a mechanism for pages to observe “long animation frames” (animation or rendering updates delayed beyond ~50 ms) that block rendering or user input.
It offers more granular insights than the Long Tasks API by including render timing, attribution of scripts, and breakdowns of style/layout/rendering phases.
The proposal covers the API surface (PerformanceLongAnimationFrameTiming etc.), buffer and observer semantics, script attribution, thresholds, visibility considerations, and interactions with the INP (Interaction to Next Paint) metric.
Out of scope are non-frame-based metrics (e.g. purely non-visual JS long tasks), or vendor-specific profiling beyond what the spec defines.
Specification
web-feature
Test Links
Additional Signals
-
Standards Status: The specification was published as a W3C First Public Working Draft on April 28, 2026, and continues to be developed in the Editor's Draft.
-
Browser Support / Current State:
• Chromium-based browsers support the API, with Chrome, Chrome for Android, and Edge shipping support starting in version 123.
• Firefox does not currently support the API, but Mozilla has expressed a positive standards position. An implementation issue remains open.
• Safari and Safari on iOS do not currently support the API. WebKit's standards-position issue remains open. -
Developer Adoption / Ecosystem Usage:
• Tools / SDKs like Sentry have added support for this API.
• DebugBear, SpeedCurve, RUMvision and other performance monitoring services write about using LoAF to identify blocking scripts, layout/style costs etc. -
Workaround / Site Breakage Risk:
• Sites relying on Long Tasks for diagnosis may need to migrate or integrate LoAF as well to obtain rendering-phase visibility.
• There may be missing visibility / attribution in certain cross-origin / worker / extension contexts. Chrome for Developers -
Likely Compatibility Impact:
• The API is additive, you can feature-detect (PerformanceObserver.supportedEntryTypes.includes('long-animation-frame')) so sites only use it in capable browsers. Chrome for Developers
• Some behavior around attribution, buffer sizes, thresholds, cross-origin scripts, visibility etc. may differ or need convergence. -
Platform / Developer Impact:
• Helps developers better diagnose responsiveness and smoothness issues, particularly for interactions (including INP)
• Enables performance tools like RUM providers to give more actionable data.
• Helps alert site owners as well as third-party providers to emerging performance problems, making it easier to detect and improve issues (for example with CMPs, session replay tools)
• Potential to reduce site-level latency and improve user experience by guiding optimizations (script splitting, deferring non-critical work, reducing layout/style cost, etc.)
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
github-actions commentedon Sep 5, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
Feature Long animation frames performance entries
long-animation-frameperformance entry measures rendering updates that take longer than 50 milliseconds. Also known as LoAFs.ErwinHofmanRV commentedon Sep 5, 2026
Recent real-world example:
LoAF data helped identify an INP regression caused by a Meta Pixel rollout affecting specific e-commerce platforms. The issue was identified in RUMvision data and later confirmed by Shopify:
https://www.rumvision.com/blog/increased-inp-impact-from-meta-pixel/
Similar regressions can also be browser-specific, which is why LoAF visibility across multiple browsers is important for reliable real-world diagnostics.