Contact emails
nrosent...@chromium.org, shase...@chromium.org

Explainer
https://github.com/w3c/long-animation-frames/blob/main/user-defined-script-entry-point-explainer.md


Specification
https://w3c.github.io/long-animation-frames


Summary

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.



Blink component
Blink>PerformanceAPIs


Motivation

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.



Initial public proposal
https://github.com/w3c/long-animation-frames/blob/main/user-defined-script-entry-point-explainer.md


TAG review
None


TAG review status
Pending


Risks




Interoperability and Compatibility

None


Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:


WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it 
has potentially high risk for Android WebView-based applications?

None




Debuggability

None



Is this feature fully tested by web-platform-tests?
No


Flag name on about://flags
None


Finch feature name
None


Non-finch justification
None


Requires code in //chrome?
False


Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5204094577541120?gate=5203521979547648


This intent message was generated by Chrome Platform Status.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/672ca67c.2b0a0220.d9f4a.0305.GAE%40google.com.

Reply via email to