WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
86097
Web Inspector: load heap snapshot implementation.
https://bugs.webkit.org/show_bug.cgi?id=86097
Summary
Web Inspector: load heap snapshot implementation.
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
Details
Formatted Diff
Diff
Patch
(18.77 KB, patch)
2012-05-11 04:59 PDT
,
Ilya Tikhonovsky
yurys
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2012-05-10 07:38:15 PDT
Created
attachment 141168
[details]
Patch
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
Created
attachment 141380
[details]
Patch
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
Committed
r116764
: <
http://trac.webkit.org/changeset/116764
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug