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] Patch
Comment on attachment 186369 [details] Patch Attachment 186369 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/16378156
Committed r142281: <http://trac.webkit.org/changeset/142281>