Closed Bug 1662850 Opened 5 years ago Closed 5 years ago

Remove address-space segments from diffs

Categories

(Toolkit :: about:memory, task, P3)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(1 file)

The segment numbers under address-space vary and just introduce a lot of noise:

│ ├──-20,889,600 B (100.0%) ── readwrite(segments=93) [2] [-]
│ ├──20,262,912 B (100.0%) ── readwrite(segments=87) [2] [+]

I suppose a more clever way to deal with it would be to do a diff on the number of segments, but scrubbing them sounds easier.

Assignee: nobody → continuation

Here's what the diff looks like with my changes:

0.00 MB (100.0%) -- address-space
├──243.32 MB (100.0%) -- commit
│ ├──240.57 MB (100.0%) -- mapped
│ │ ├──240.94 MB (100.0%) ── readonly(segments=NNNN) [8]
│ │ └───-0.37 MB (100.0%) ── noaccess(segments=NNNN) [8]
│ ├────3.00 MB (100.0%) -- private
│ │ ├──3.02 MB (100.0%) ── readwrite(segments=NNNN) [8]
│ │ ├──-0.06 MB (100.0%) ── execute-read(segments=NNNN) [8]
│ │ └──0.04 MB (100.0%) ── readwrite+stack(segments=NNNN) [8]

You can now more clearly see the actual changes in the different types of address space.

These segment counts vary as memory usage vary, which makes diffs a lot
noisier. It would be slicker to diff the number of segments, but that
would require some changes to the way we do diffs.

Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d722f92092a Remove address-space segments from diffs. r=njn
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: