WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
153447
Web Inspector: Have top-level ScriptTimelineDataGridNode events show sample counts
https://bugs.webkit.org/show_bug.cgi?id=153447
Summary
Web Inspector: Have top-level ScriptTimelineDataGridNode events show sample c...
Saam Barati
Reported
2016-01-25 14:24:51 PST
...
Attachments
patch
(2.88 KB, patch)
2016-01-25 15:15 PST
,
Saam Barati
joepeck
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-01-25 14:25:25 PST
<
rdar://problem/24334137
>
Timothy Hatcher
Comment 2
2016-01-25 14:33:40 PST
<
rdar://problem/24329305
>
Saam Barati
Comment 3
2016-01-25 15:15:20 PST
Created
attachment 269801
[details]
patch
Joseph Pecoraro
Comment 4
2016-01-25 15:26:20 PST
Comment on
attachment 269801
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=269801&action=review
r=me handling backwards combat
> Source/WebInspectorUI/UserInterface/Models/ScriptTimelineRecord.js:65 > + get callCount() > + { > + return this._callCount; > + }
We should only do this when we are using the sampling profiler. Otherwise when it actually says "Call Count" instead of "Samples" we will see some # for "Script Evaluated" which doesn't make sense. You could make this: get callCount() { // COMPATIBILITY(iOS 9): Before the ScriptProfilerAgent we did not have sample data. Return NaN to match old behavior. if (!window.ScriptProfilerAgent) return NaN; // NOTE: callCount here is actually the number of samples. return this._callCount; }
Saam Barati
Comment 5
2016-01-25 16:26:04 PST
landed in:
http://trac.webkit.org/changeset/195566
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