Bug 56460

Summary: Web Inspector [JSC]: Provide information about DOM subtrees in Heap profiles
Product: WebKit Reporter: Mikhail Naganov <mnaganov>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: apavlov, bburg, bweinstein, ggaren, joepeck, keishi, loislo, mark.lam, oliver, pfeldman, pmuellr, rik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 50485    

Mikhail Naganov
Reported 2011-03-16 05:37:22 PDT
When searching for memory leaks in JavaScript application, besides looking at VM memory usage, it's also worth looking at DOM subtrees (and other related objects like CSS, XHRs) from native heap that are being held from JS side. JS wrappers are usually small and doesn't attract much attention. But if it will be visible that a small JS wrapper holds a 1000-nodes tree, a developer will be able to see a problem here. See https://bugs.webkit.org/show_bug.cgi?id=53659 for a sample implementation.
Attachments
Note You need to log in before you can comment on or make changes to this bug.