Closed
Bug 1846270
Opened 1 year ago
Closed 1 year ago
GC profile background work time double counts parallel marking time
Categories
(Core :: JavaScript: GC, defect, P5)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
118 Branch
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(2 files)
The 'bgwrk' column of profile information produced when using JS_GC_PROFILE double counts time spent parallel marking.
This is because it sums all parallel phase times, and parallel marking records its total time separately from time spend marking and waiting.
Assignee | ||
Comment 1•1 year ago
|
||
Total background time sums all phases so this currently double counts time from
parallel marking. The patch stop recording the total time separately and
instead records its componenets.
Depends on D184939
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fd510d9d3f04
Split times recorded for parallel marking as these will be summed later r=sfink
Comment 3•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
Assignee | ||
Comment 4•1 year ago
|
||
My previous patch changed the way |parallelRunTime| by adding waiting time
where it was previously subtracted. The utilization telemetry is meant to show
the fraction of time the helper threads spent running so waiting time should
not be included.
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5616c5fbcec0
Fix parallel marking utilization telemetry broken by previous patch in this bug r=sfink
Comment 6•1 year ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•