Bug 31134

Summary: Web Inspector: add getHeap() function
Product: WebKit Reporter: David Boyer <boyerd>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bweinstein, joepeck, keishi, mnaganov, pfeldman, pmuellr, rik, robert.colburn+bugzilla
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

David Boyer
Reported 2009-11-04 11:43:51 PST
This function would be used for performance testing metric collection. The Chrome browser currently shows the heap contents if you take a snapshot. But we have no programmatic access to that type of data. Adding a JavaScript function (along with getProfile() https://bugs.webkit.org/show_bug.cgi?id=31133) would give an html page all the tools necessary to collect performance data, and manipulate/collate that data. My personal interest is in building pages that collect data and report that data back to a server for collation/reporting. Currently the interesting 3 core interesting metrics are time, count, and memory usage. we have basic timing, but we don't have a way to characterize memory usage. This function with getProfile() would complete the circle. Now the information is data, and can be collected and collated with other data from other places. I will be adding a bug at Firebug requesting to add a function like this there also.
Attachments
Rob Colburn
Comment 1 2012-05-10 14:14:19 PDT
Brian Burg
Comment 2 2014-12-12 14:07:55 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.
Note You need to log in before you can comment on or make changes to this bug.