Make the DevTools tracer button use the native profiler pipeline 
    Categories
(DevTools :: Debugger, enhancement)
Tracking
(firefox134 fixed)
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed | 
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Bug 1911021 reverted back the tracer controlled from DevTools to manually generate the profile via Spidermonkey hooks.
We should make the DevTools tracer icon use the new native profiler pipeline to gather tracing profiles.
| Assignee | ||
| Comment 1•1 year ago
           | ||
Stop manually crafting the profiler data by using SpiderMonkey hooks.
Instead, use the profiler native pipeline to do the collection.
This still relies on JSTracer class in order to trigger the record on next interaction or page load.
One caveat is that it starts the profiler from the content process, which prevents recording screenshots correctly.
| Updated•1 year ago
           | 
| Comment 3•11 months ago
           | ||
| bugherder | ||
| Comment 4•11 months ago
           | ||
Perfherder has detected a devtools performance change from push 1bb3c36a15c39849a61394f997225808d6c215b5.
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) | 
|---|---|---|---|---|
| 45% | damp jstracer.profiler-recording-performance.DAMP | macosx1015-64-shippable-qr | e10s fission stylo webrender | 519.44 -> 286.36 | 
| 37% | damp jstracer.profiler-recording-performance.DAMP | windows11-64-shippable-qr | e10s fission stylo webrender | 250.19 -> 156.97 | 
| 29% | damp jstracer.profiler-recording-performance.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender | 710.70 -> 506.90 | 
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.
You can run these tests on try with ./mach try perf --alert 42500
For more information on performance sheriffing please see our FAQ.
Description
•