[Webkit-unassigned] [Bug 76252] New: Web Inspector: Detailed heap snapshot. _calculateFlags is too slow on a large heap snapshot.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 13 00:23:14 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=76252
Summary: Web Inspector: Detailed heap snapshot. _calculateFlags
is too slow on a large heap snapshot.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: loislo at chromium.org
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
_calculateFlags speed is about 10k edges per second.
It requires 150sec for the snapshot with 1.5m edges.
The root of problem is var node = list.shift();
It is not effective in term of memory and cpu.
In our case it can be replaced with pop().
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list