[Webkit-unassigned] [Bug 78574] New: Web Inspector: Typed Arrays not sized correctly in heap snapshots
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 13 22:03:59 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=78574
Summary: Web Inspector: Typed Arrays not sized correctly in
heap snapshots
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ben.vanik at gmail.com
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
While trying to find the discrepancies between Task Manager and the heap snapshot panel in the Chrome dev tools I noticed that typed arrays are not getting their size counted correctly. It looks like only the Javascript side of the arrays are counted, and not the native backing store. This means that if one has a 1MB Float32Array they'll only see it as ~32B in the heap profile. In applications making heavy use of typed arrays this makes the heap profiles largely useless for identifying memory hogging code. It's not enough of a workaround to use the count of typed arrays as an indicator of size as a large application will use thousands of arrays varying from 32B to several MB each.
--
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