Implement the JavaScript Self-Profiling API
Categories
(Core :: Performance, enhancement)
Tracking
()
People
(Reporter: impressive.webs, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
Tried to use the self-profiling API according to https://wicg.github.io/js-self-profiling/.
Actual results:
Not supported in Firefox.
Expected results:
It should be supported, likely for now behind a flag.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Note that it's a draft, so it's probably not implemented in many places.
This is interesting, at a quick glance it looks like it could control the Gecko Profiler, and our profile data could be converted to the proposal's data structures.
I'm leaving this bug in this component, Julien please forward elsewhere if you can think of a better home. Happy to discuss implementation details with whoever gets to implement it (if not me!)
Comment 3•4 years ago
|
||
I think this is more a DOM thing (of course interacting with our team if we want to do it).
Hey Anne, is that on your radar? Do we have a position on this already?
Comment 4•4 years ago
|
||
I have looked at this a bit, see https://github.com/mozilla/standards-positions/issues/477 (and issues directly against the proposal's repository). Your input would be appreciated as well. Overall it seems like a reasonable idea, although it lacks a formal processing model. Another thing I'm not entirely sure about is whether cross-origin information could be easily gathered if both origins run in the same process.
Updated•4 years ago
|
Comment 6•4 years ago
|
||
The DOM API side would be tiny thing here.
Description
•