Makes sense. As we decoupled the per-script interrupt threshold (e.g. 7ms) from the overall LoAF frame duration threshold based on TPAC feedback, `takeTracing` and `PerformanceScriptTiming.stackTrace` already work out-of-the-box within standard 50ms LoAF frames.
I've updated the ChromeStatus entry to scope this feature strictly to `takeTracing` and `PerformanceScriptTiming.stackTrace`, and we can pursue configurable LoAF `durationThreshold` separately as a follow-up feature. Will update the prototype, explainer and issue soon. Thanks, Eriko On Fri, Nov 13, 2026 at 1:01 AM Michal Mocny <[email protected]> wrote: > Note: the stackTrace and takeTracing option are tightly coupled-- but the > "configurable sub-50ms durationThreshold frame filtering" are really an > independent feature which has unique value outside of the other work. I > understand why both are better together, but perhaps you may want separate > features? > > On Thu, Nov 12, 2026 at 3:05 AM Chromestatus < > [email protected]> wrote: > >> *Contact emails* >> [email protected] >> >> *Explainer* >> https://github.com/explainers-by-googlers/task-interrupt-timing >> https://github.com/WICG/proposals/issues/312 >> >> *Specification* >> *No information provided* >> >> *Summary* >> Extends Long Animation Frames ("long-animation-frame") with an opt-in >> takeTracing option on PerformanceObserverInit, configurable sub-50ms >> durationThreshold frame filtering, and a stackTrace attribute on >> PerformanceScriptTiming that captures a one-shot JavaScript call stack when >> a script exceeds a predetermined execution threshold. >> >> *Blink component* >> Blink>PerformanceAPIs >> <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EPerformanceAPIs%22> >> >> *Web Feature ID* >> long-animation-frames >> <https://webstatus.dev/features/long-animation-frames> >> >> *Motivation* >> PerformanceScriptTiming in Long Animation Frames currently reports only >> outer entry-point attribution which often points to generic framework >> dispatchers or RUM wrappers rather than the inner function consuming CPU, >> and enforces a fixed 50ms frame threshold. Adding opt-in one-shot >> mid-execution call stack capture and configurable durationThreshold frame >> filtering lets developers pinpoint main-thread jank without continuous >> sampling overhead or Document-Policy headers. >> >> *Initial public proposal* >> https://github.com/w3c/long-animation-frames/issues/47 >> >> *Goals for experimentation* >> None >> >> >> >> *Tracking bug* >> https://issues.chromium.org/issues/487136777 >> >> *Estimated milestones* >> >> No milestones specified >> >> >> *Link to entry on the Chrome Platform Status* >> https://chromestatus.com/feature/6225832942108672?gate=5144450304180224 >> >> This intent message was generated by Chrome Platform Status >> <https://chromestatus.com>. >> > -- 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 [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADJrwa9KX87yJW4tuhXD%3Dpz5Hg8UJ-TqYuQepwF%3DbRuxafVTpQ%40mail.gmail.com.
