RESOLVED FIXED76843
Web Inspector: show memory counter graphs in timeline panel
https://bugs.webkit.org/show_bug.cgi?id=76843
Summary Web Inspector: show memory counter graphs in timeline panel
Yury Semikhatsky
Reported 2012-01-23 11:14:43 PST
This is an experimental feature which allows to view dynamics of various DOM counters including total node count, number of DOM groups and number of event listeners in the document.
Attachments
Patch (32.73 KB, patch)
2012-01-23 11:40 PST, Yury Semikhatsky
pfeldman: review+
Screenshot with the patch applied (95.59 KB, image/png)
2012-01-25 03:46 PST, Yury Semikhatsky
no flags
Patch for landing (36.64 KB, patch)
2012-01-25 06:40 PST, Yury Semikhatsky
no flags
Yury Semikhatsky
Comment 1 2012-01-23 11:40:48 PST
Pavel Feldman
Comment 2 2012-01-25 00:55:04 PST
Is there a screenshot?
Yury Semikhatsky
Comment 3 2012-01-25 03:46:57 PST
Created attachment 123916 [details] Screenshot with the patch applied
Pavel Feldman
Comment 4 2012-01-25 04:00:04 PST
Comment on attachment 123589 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=123589&action=review > Source/WebCore/inspector/Inspector.json:1897 > + "name": "setDomCountersEnabled", setIncludeMemoryDetails ? > Source/WebCore/inspector/InspectorTimelineAgent.cpp:412 > + m_recordStack.last().record->setArray("memory", domGroups.release()); This field seems to conflict with the heap info we are sending. > Source/WebCore/inspector/front-end/TimelinePanel.js:155 > +WebInspector.MemoryStatistics.prototype = { Could you extract this into a separate file?
Yury Semikhatsky
Comment 5 2012-01-25 06:40:13 PST
Comment on attachment 123589 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=123589&action=review >> Source/WebCore/inspector/Inspector.json:1897 >> + "name": "setDomCountersEnabled", > > setIncludeMemoryDetails ? Done. >> Source/WebCore/inspector/InspectorTimelineAgent.cpp:412 >> + m_recordStack.last().record->setArray("memory", domGroups.release()); > > This field seems to conflict with the heap info we are sending. Renamed to domGroups for now. >> Source/WebCore/inspector/front-end/TimelinePanel.js:155 >> +WebInspector.MemoryStatistics.prototype = { > > Could you extract this into a separate file? Done.
Yury Semikhatsky
Comment 6 2012-01-25 06:40:52 PST
Created attachment 123930 [details] Patch for landing
Yury Semikhatsky
Comment 7 2012-01-25 07:10:59 PST
Note You need to log in before you can comment on or make changes to this bug.