Retained size for all objects of particular class currently just shows size of the largest object of this class.
This estimate is too conservative and thus makes sorting by retained sizes (which is the default) useless.
Make it more precise.
Created attachment 125296 [details]
Comment on attachment 125296 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=125296&action=review
> + function skip(node)
skip -> shouldSkip?
> + var snapshot = this;
Just pass it as a parameter to forDominatedNodes.
> + var doms = snapshot._dominatedNodesOfNode(node);
doms -> dominatedNodeIndexes, we usually avoid abbreviations in the front-end code
Created attachment 125320 [details]
Comment on attachment 125320 [details]
Clearing flags on attachment: 125320
Committed r106665: <http://trac.webkit.org/changeset/106665>
All reviewed patches have been landed. Closing bug.