Closed Bug 1226878 Opened 10 years ago Closed 10 years ago

Percentages/values all wrong when filtering

Categories

(DevTools :: Memory, defect, P1)

defect

Tracking

(firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox47 --- fixed

People

(Reporter: jsantell, Assigned: fitzgen)

References

Details

Attachments

(3 files)

Attached file 696237.fxsnapshot
STR: * Open up attached snapshot * Set breakdowns to Allocation Site * Type in "memory" into the filter ER: Not get values like 1336% AR: Get values like 1336% This snapshot was from an unscoped browser toolbox.
Screenshot -- note, tree must be uninverted.
Has STR: --- → yes
Correctness of reporting our measurements is very high priority.
Priority: -- → P1
Additional STR from bug 1241592: > Steps to reproduce: > > 1. Start Nightly > 2. Open Memory Tool > 3. Run "Take Snapshot" > 4. Set filter word (e.g. "objects") > > Actual results: > > heap-tree-percent is over 100%. > > Expected results: > > It should not be overflowed. If calculation is wrong, should work correctly.
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
When filtering, we were merging total counts and total bytes as we added matching paths from the unfiltered tree into the new, filtered tree. This was incorrect, and caused us to double, triple, ... count the totals.
Attachment #8716086 - Flags: review?(jimb)
Attachment #8716086 - Flags: review?(jimb) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: