Bug 86097

Summary: Web Inspector: load heap snapshot implementation.
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
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 Flags
Patch
none
Patch yurys: review+

Ilya Tikhonovsky
Reported 2012-05-10 07:20:25 PDT
%subj%
Attachments
Patch (17.51 KB, patch)
2012-05-10 07:38 PDT, Ilya Tikhonovsky
no flags
Patch (18.77 KB, patch)
2012-05-11 04:59 PDT, Ilya Tikhonovsky
yurys: review+
Ilya Tikhonovsky
Comment 1 2012-05-10 07:38:15 PDT
Yury Semikhatsky
Comment 2 2012-05-11 02:52:56 PDT
Comment on attachment 141168 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=141168&action=review > Source/WebCore/ChangeLog:7 > + Please provide a brief description of the change. > Source/WebCore/inspector/front-end/CSSSelectorProfileView.js:361 > + if (title === undefined) if (!title) ? > Source/WebCore/inspector/front-end/HeapSnapshotView.js:693 > + if (profile.uid < 0) Let's make the profile data source explicit and skip here profiles which have been loaded from file. > Source/WebCore/inspector/front-end/HeapSnapshotView.js:845 > + this.sidebarElement.subtitle = WebInspector.UIString("Saving\u2026 %d\%", Math.floor(this._savedChunksCount * 10000 / this._totalNumberOfChunks) / 100); Can we use Number.toFixed(2) instead to get desired formatting? > Source/WebCore/inspector/front-end/ProfilesPanel.js:248 > + if (!file.name.endsWith(".whs")) { probably just .heapsnapshot?
Ilya Tikhonovsky
Comment 3 2012-05-11 04:59:36 PDT
Ilya Tikhonovsky
Comment 4 2012-05-11 05:00:27 PDT
(In reply to comment #2) > (From update of attachment 141168 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=141168&action=review > > > Source/WebCore/ChangeLog:7 > > + > > Please provide a brief description of the change. done > > > Source/WebCore/inspector/front-end/CSSSelectorProfileView.js:361 > > + if (title === undefined) > > if (!title) ? done > > > Source/WebCore/inspector/front-end/HeapSnapshotView.js:693 > > + if (profile.uid < 0) done > > Let's make the profile data source explicit and skip here profiles which have been loaded from file. > > > Source/WebCore/inspector/front-end/HeapSnapshotView.js:845 > > + this.sidebarElement.subtitle = WebInspector.UIString("Saving\u2026 %d\%", Math.floor(this._savedChunksCount * 10000 / this._totalNumberOfChunks) / 100); > > Can we use Number.toFixed(2) instead to get desired formatting? done > > > Source/WebCore/inspector/front-end/ProfilesPanel.js:248 > > + if (!file.name.endsWith(".whs")) { > > probably just .heapsnapshot? done
Yury Semikhatsky
Comment 5 2012-05-11 06:12:07 PDT
Comment on attachment 141380 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=141380&action=review > Source/WebCore/inspector/front-end/HeapSnapshotView.js:691 > + if (this.profile._fromFile) Can you make _fromFile public and put it on the base profile header?
Ilya Tikhonovsky
Comment 6 2012-05-11 06:52:47 PDT
Note You need to log in before you can comment on or make changes to this bug.