#1224: Incubation: Lightweight and Conditional Tracing for long animation frame timing API

Visit on Github

Opened Apr 28, 2026

Explainer

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ConditionalTracing/explainer-for-loaf.md

The explainer

Where and by whom is the work is being done?

Feedback so far

  • Multi-stakeholder feedback:
    • Chromium comments: planning to prototype this and work with the WebPerfWG.
    • Mozilla comments: TBD
    • WebKit comments: TBD
  • Major unresolved issues with or opposition to this design: N/A

You should also know that...

No response

<!-- Content below this is maintained by @w3c-tag-bot -->

Track conversations at https://tag-github-bot.w3.org/gh/w3ctag/design-reviews/1224

Discussions

Log in to see TAG-private discussions.

Comment by @xiaochengh Jun 10, 2026 (See Github)

Hi @guohuideng2024, the TAG reviewed this and fount it much more plausible than the previous approach. The overall mechanism looks highly feasible to us.

We have some comments at a lower level regarding the API design.

  1. The proposed new APIs markCondition() and measureConditional() are directly tied to long animation frames, and therefore:
    • The connection between these APIs and LoAF is not clear from the names and may be confusing
    • This is not extendable to use cases like, e.g., we want to analyze long tasks instead of long animation frames, or if there are new types of performance incidents we want to introduce in the future
  2. We are also unsure why we need to introduce "conditional" marks and measures, instead of somehow allowing existing marks and measures to be attributed to LoAF and similar incidents.