Closed Bug 1717658 Opened 3 years ago Closed 3 years ago

Improve and tidy up GC profile output

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(3 files)

I've been using this to try and figure out what's going on with pretenuring for bug 1714936 so it was useful to improve and tidy it up a little.

Most of the time when I use these I'm only interested in the main runtime, so
this makes printing the information on workers optional. It also commons up the
logic involved.

Nowadays we almost always have multiple FF processes around so it makes sense
to include the PID in the output.

Depends on D118506

This lines up all the columns and makes most of the fields 6 characters wide.
String fields are left aligned, numbers right aligned. This makes it a little
less unreadable.

Depends on D118507

Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2338d34abedc
Make GC profile information ignore worker runtimes by default r=sfink
https://hg.mozilla.org/integration/autoland/rev/4944feb6a5a4
Add PID to GC profile information r=sfink
https://hg.mozilla.org/integration/autoland/rev/be3ed31e20ab
Make GC profile output line up properly r=sfink
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: