Intent to Prototype: Conditional tracing for long animation frame(LoAF) timing API

11 views
Skip to first unread message

Guohui Deng

unread,
6:26 PM (3 hours ago) 6:26 PM
to Abridged recipients
Contact emails
Explainer
Specification
No information provided

Summary
Introduce a new conditional tracing that help diagnose causes of LoAFs. This new feature let web app developers add conditional tracing in the app code, and these tracing points will be reported by the LoAF API if they are executed during a LoAF. This is a powerful and easy-to-use tool to help diagnose LoAFs.

Blink component
Web Feature ID
Motivation
A number of Performance APIs, (e.g. LoAF API) monitor web site performance, but the information provided by these APIs by themselves may not be sufficient to locate the root cause of performance problems. One example is the wrapper problem of the LoAF API: with a framework wrapping the event handlers, the script entry point cannot identify the event handler invoked during the LoAF. The performance User Timing API can be used to diagnose performance problems further when additional information is needed to locate the root cause. However, it results in unnecessary performance overhead and requires extra analysis to relate the LoAF to right tracing points. This new lightweight User Timing API extension is specifically designed to support LoAF. Compared to the standard User Timing API, it offers lower runtime overhead and improved developer ergonomics. A similar enhancement could be applied to the Event Timing API in the future.

Initial public proposal
Search tags
Goals for experimentation
None

Requires code in //chrome?
False

Tracking bug
Estimated milestones
No milestones specified


Link to entry on the Chrome Platform Status
This intent message was generated by Chrome Platform Status.

Reply all
Reply to author
Forward
0 new messages