Closed Bug 1002688 Opened 10 years ago Closed 8 years ago

[jsdbg2] Implement getting the "top 40" retained size offenders from |Debugger.Memory.DominatorTree|

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

We should be able to get the n items with the largest retained size for each category/group/equivalence class of ubi::Node.

We could use heap sort to only sort and return the n items we actually want. See also this blog post for implementing fast heap sort: http://www.pvk.ca/Blog/2014/04/13/k-ary-heapsort/
We have dominator trees now and there isn't anything left for this bug anymore
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.