Implement Long Animation Frame API
Categories
(Core :: DOM: Performance APIs, enhancement, P3)
Tracking
()
People
(Reporter: Harald, Unassigned)
References
()
Details
(Keywords: dev-doc-needed, parity-chrome, Whiteboard: [platform-rel-Facebook] [webpagetest][platform-feature][webcompat:risk-low])
User Story
web-feature: long-animation-frames
| Reporter | ||
Updated•9 years ago
|
| Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•8 years ago
|
||
| resolved | ||
Comment 3•8 years ago
|
||
| resolved | ||
Comment 4•8 years ago
|
||
| resolved | ||
| Reporter | ||
Comment 5•8 years ago
|
||
| resolved | ||
Updated•8 years ago
|
| Reporter | ||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
| Reporter | ||
Comment 9•8 years ago
|
||
| Reporter | ||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Would love to have this in Firefox too. I think the value in the long task API has been proved by the two new metrics derived from Long Tasks: Total Blocking Time and maxPotentialFirstInputDelay.
However I would also like better attribution so when we get a long task, we can understand what's causing it :)
Mass-removing myself from cc; search for 12b9dfe4-ece3-40dc-8d23-60e179f64ac1 or any reasonable part thereof, to mass-delete these notifications (and sorry!)
Updated•5 years ago
|
Updated•4 years ago
|
Comment 17•4 years ago
|
||
plawless, is this perhaps in perf team's todo list.
Marking this p3 to get this out from the triage list.
Updated•3 years ago
|
Comment 18•3 years ago
|
||
This is in our backlog. We'll review it again in our next planning session.
Comment 19•3 years ago
|
||
Given there's a proposal about changing what long task measures, we should wait for that to be finalized before starting the implementation.
Comment 20•2 years ago
|
||
The above proposal (Long Animation Frame API) has been merged to the spec https://w3c.github.io/longtasks/#sec-loaf-timing . This is the one that we are interested.
Instead of implementing Long Task API, I am rephrasing this bug to only implement that particular part.
I've also filed a spec issue to separate Long Animation Frame out
Updated•1 year ago
|
Updated•1 year ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•4 months ago
|
Comment 21•2 months ago
|
||
Having discussed this with Olli, I believe this is more complicated than it might seem at first. Implementing the spec requires us to clearly annotate tasks by document, which is something we are not currently doing, and would involve quite some work. I'm going to adjust the size estimate, and for the moment, while I really do like this as a feature, I don't think it's feasible to do this for interop 2026.
Comment 22•2 months ago
|
||
And the HTML spec itself is very much unclear on what is task's document.
See the red warning in https://html.spec.whatwg.org/#implied-event-loop
Description
•