Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recursively sort memory report sub-trees.
This puts the larger sub-trees first. E.g. this: ``` | 1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page) | 0.26 MiB -- display-list | 0.78 MiB -- paint-task # new output line | 0.78 MiB -- buffer-map # new output line ``` becomes this: ``` | 1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page) | 0.78 MiB -- paint-task # new output line | 0.78 MiB -- buffer-map # new output line | 0.26 MiB -- display-list ``` This matches how Firefox's about:memory works. Now that this is done for all sub-trees, the ad hoc sorting done for Linux segments is no longer necessary, and has been removed.
- Loading branch information