Web Inspector: Speed up the retainers build phase.
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Mar 2012 14:32:52 +0000 (14:32 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Mar 2012 14:32:52 +0000 (14:32 +0000)
commit814d61aaab6f56cb74af6ba2f89d8471efff78b7
treeb20b183a5627c529baeae065922199d324d06524
parent7c97e2f8d4de54c4e3890b30b43a62f47305f474
Web Inspector: Speed up the retainers build phase.
https://bugs.webkit.org/show_bug.cgi?id=81763

Replacing the edge iterator in retainers building phase
makes it run 10 times faster (400 ms vs. 4 sec).

Patch by Alexei Filippov <alexeif@chromium.org> on 2012-03-26
Reviewed by Yury Semikhatsky.

* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._buildRetainers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@112090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/HeapSnapshot.js