Ready for Developer Testing: js-profiling in dedicated workers

25 views
Skip to first unread message

Chromestatus

unread,
2:57 PM (6 hours ago) 2:57 PM
to blin...@chromium.org, moni...@microsoft.com
Contact emails
moni...@microsoft.com

Explainer
https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md

Specification
https://wicg.github.io/js-self-profiling/#the-profiler-interface

Design docs

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentPolicy/DocumentPolicyInWorkers.md

Summary
Allows js-profiling in dedicated workers This feature enables the JavaScript Self‑Profiling (js-profiling) API in Dedicated Workers, while remaining gated by Document Policy. It allows developers to obtain low‑overhead CPU attribution for JavaScript execution in workers, with Document Policy support for workers tracked separately.

Blink component
Blink>PerformanceAPIs

Web Feature ID
profiler

Risks


Interoperability and Compatibility
No information provided

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?

No information provided


Debuggability
No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
No

Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/js-self-profiling/with-document-policy?label=master&label=experimental&aligned&q=document-policy

DevTrial instructions
https://docs.google.com/document/d/1ip0obDEsVLT2WzyuEzi0LZlh5Sd78tDmo9QwRRqPKOw/edit?usp=sharing

Flag name on about://flags
No information provided

Finch feature name
DocumentPolicyInDedicatedWorker,ProfilerAPIForDedicatedWorker

Requires code in //chrome?
False

Tracking bug
https://issues.chromium.org/issues/482085416

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5159559872249856

Links to previous Intent discussions
Intent to Prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/69975252.050a0220.1f729.0da6.GAE%40google.com


This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages