[Webkit-unassigned] [Bug 103232] New: Web Inspector: NMI introduce heap graph recording API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 26 02:34:54 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103232

           Summary: Web Inspector: NMI introduce heap graph recording API
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: loislo at chromium.org
                CC: keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


Currently we have a plain memory usage statistic based on types.
Unfortunately this 'type' to 'size' information couldn't help to web developers.
They need an information about instances and owners.

As example even about:blank page has ~5MB of Page.Image.
This fact confuses the developers. Actually this image is a part of Inspector backend
because it creates and uses a canvas in InspectorOverlay.

After long offline discussion we came to the conclusion that we need to record a heap graph.

We need to have 2 methods for that. reportNode and reportEdge.
But due to c++ multiple inheritance we need a helper method reportAssociation which associates a pointer to parent class with pointer to descendant class.

patch to follow.

-- 
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