This method is used for automatic tests in Chromium and the test only uses total number of nodes and event listeners. These values can be retrieved from InspectorCounters while at the moment the code traverses DOM node wrappers and DOM trees to collect the information.
Created attachment 186369 [details]
Comment on attachment 186369 [details]
Attachment 186369 [details] did not pass win-ews (win):
Committed r142281: <http://trac.webkit.org/changeset/142281>