files/en-us/web/api/performancelonganimationframetiming/index.md
{{SeeCompatTable}}{{APIRef("Performance API")}}
The PerformanceLongAnimationFrameTiming interface is specified in the Long Animation Frames API and provides metrics on long animation frames (LoAFs) that occupy rendering and block other tasks from being executed.
Long animation frames (LoAFs) are rendering updates that are delayed beyond 50ms. LoAFs can result in slow user interface (UI) updates, making controls appear unresponsive and causing janky (non-smooth) animated effects and scrolling. This often leads to user frustration.
The PerformanceLongAnimationFrameTiming interface provides the following granular set of information on LoAFs, allowing developers to narrow down their root causes:
PerformanceLongAnimationFrameTiming inherits from {{domxref("PerformanceEntry")}}.
{{InheritanceDiagram}}
This interface extends the following {{domxref("PerformanceEntry")}} properties for long animation frame performance entries:
"long-animation-frame"."long-animation-frame".This interface also supports the following properties:
duration of more than 50ms, subtracting 50ms from each, adding the rendering time to the longest task time, and summing the results.PerformanceLongAnimationFrameTiming object.See Long animation frame timing for examples related to the Long Animation Frames API.
{{Specifications}}
{{Compat}}