Long animation frames allow insight into main-thread bottlenecks that can result in jank and bad INP. Some of these insights are the monitoring of long "script entry points" - callbacks from the platform (event handlers/script blocks etc) that take more than 5ms. However, those "entry points" are often too coarse, and don't give enough insight about the true cause of the bottleneck This feature allows user code to define its own "entry points", and those entry points would appear as bottleneck in the LoAF API.
See https://github.com/w3c/long-animation-frames/issues/3. From the inception of long animation frames, this was the biggest pain point, where bottlenecks were often attributed to "wrappers" of frameworks and RUM libraries, not giving actionable insight about the culprit script.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
No milestones specified