Closed Bug 1668056 Opened 5 years ago Closed 5 years ago

Bailout profiler markers should be text markers

Categories

(Core :: JavaScript Engine: JIT, task)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: florian, Assigned: florian)

Details

Attachments

(1 file)

Currently each Bailout marker has its own line in the profiler UI, which clutters the marker chart.

Bug 976260 originally introduced markers there. Bug 1329921 suggests converting them to structured data, which is difficult given that GeckoProfiler.h can't be included directly. I think converting these markers to text markers would be a good first step.

Here are the current bailout markers on a startup profile on a slow Windows machine: https://share.firefox.dev/3kYN9Mp
Here are bailout markers with my patch applied on a startup profile on my local mac build: https://share.firefox.dev/3jeqpHR

Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/17e142537e65 Bailout profiler markers should be text markers. r=jandem,gerald

It turns out the profiler front-end code had a special handling for these markers at https://github.com/firefox-devtools/profiler/blob/4748485d901af0d1768495ddde606bcb6b4d68cb/src/profile-logic/marker-data.js#L250
However, that code broke for the Bailout markers when bug 1649201 changed the output of the BailoutKindString function from "Bailout_<kind>" to "BailoutKind::<kind>".

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: