Closed Bug 1867599 Opened 5 months ago Closed 5 months ago

Land a first minimal implementation of JS Tracer export to gecko profiler

Categories

(DevTools :: General, enhancement)

enhancement

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: ochameau, Assigned: canova)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

This first implementation won't be exposed in the UI, you would need to manually toggle:

  • devtools.debugger.features.javascript-tracing to true to enable the tracer
  • devtools.debugger.javascript-tracing-log-method to "profiler" to enable the profiler output

This will be exposed once a few additional tweaks are landed, especially real durations.
The current implementation record one sample for each frame and there is no notion of time in the record. Each frame follow the previously recorded one.

Depends on: 1867603
Blocks: 1867605
Assignee: nobody → canaltinova
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ac7f61665843
Add profiler logging method to JS tracer r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: