Summary: | Web Inspector: show memory counter graphs in timeline panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yury Semikhatsky <yurys> | ||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Yury Semikhatsky <yurys> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
Yury Semikhatsky
2012-01-23 11:14:43 PST
Created attachment 123589 [details]
Patch
Is there a screenshot? Created attachment 123916 [details]
Screenshot with the patch applied
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? 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. Created attachment 123930 [details]
Patch for landing
Committed r105877: <http://trac.webkit.org/changeset/105877> |