[Webkit-unassigned] [Bug 89568] New: Web Inspector: partially instrument DOM Tree native memory
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 20 06:49:34 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89568
Summary: Web Inspector: partially instrument DOM Tree native
memory
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, alexeif at chromium.org
Blocks: 87262
This patch is a part of native memory instrumentation.
It is not possible to do this in a single patch because DOM structure has too many different classes.
The idea is to count the size of each reported object and call reportMemoryUsage if such method was defined in the object's class.
All the instrumented classes will report their type DOM or CSS, not instrumented classes will be counted as Unknown.
the sample test output:
RESULT native-memory-snapshot: DOM= 400 kB
RESULT native-memory-snapshot: DOMTreeUnknown= 46 kB
RESULT native-memory-snapshot: DOMTreeDOM= 337 kB
RESULT native-memory-snapshot: DOMTreeCSS= 15 kB
--
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