WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
139346
Web Inspector: Enable runtime API for JSC's control flow profiler
https://bugs.webkit.org/show_bug.cgi?id=139346
Summary
Web Inspector: Enable runtime API for JSC's control flow profiler
Saam Barati
Reported
2014-12-06 12:47:21 PST
JSC now has control flow profiler functionality. Create an inspector API for this feature.
Attachments
patch
(5.41 KB, patch)
2014-12-06 13:14 PST
,
Saam Barati
joepeck
: review+
joepeck
: commit-queue-
Details
Formatted Diff
Diff
patch
(5.45 KB, patch)
2014-12-08 18:23 PST
,
Saam Barati
no flags
Details
Formatted Diff
Diff
patch
(5.46 KB, patch)
2014-12-08 18:27 PST
,
Saam Barati
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-12-06 12:47:32 PST
<
rdar://problem/19168297
>
Saam Barati
Comment 2
2014-12-06 13:14:33 PST
Created
attachment 242725
[details]
patch
Joseph Pecoraro
Comment 3
2014-12-08 12:14:19 PST
Comment on
attachment 242725
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=242725&action=review
> Source/JavaScriptCore/inspector/protocol/Runtime.json:160 > + "id": "BasicBlockLocation", > + "type": "object", > + "description": "Describes the location of a basic block and if that basic block has executed.",
What exactly is a "Basic Block"? That sounds like a JSC specific name, but is there a more generic name we could use here? Is there a language agnostic term for what a basic block is? It sounds like this could just be a Type named "Basic Block" with a startOffset, endOffset, and hasExecuted. I don't think a "hasExecuted" property makes sense inside an object named "FooLocation".
Brian Burg
Comment 4
2014-12-08 12:17:28 PST
Comment on
attachment 242725
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=242725&action=review
> Source/JavaScriptCore/ChangeLog:9 > + to get information about which basic blocks have exectued
typo: executed
>> Source/JavaScriptCore/inspector/protocol/Runtime.json:160 >> + "description": "Describes the location of a basic block and if that basic block has executed.", > > What exactly is a "Basic Block"? That sounds like a JSC specific name, but is there a more generic name we could use here? Is there a language agnostic term for what a basic block is? > > It sounds like this could just be a Type named "Basic Block" with a startOffset, endOffset, and hasExecuted. I don't think a "hasExecuted" property makes sense inside an object named "FooLocation".
(Almost) every compiler uses the term 'basic block'. A different name would be very confusing.
Joseph Pecoraro
Comment 5
2014-12-08 12:20:48 PST
> What exactly is a "Basic Block"? That sounds like a JSC specific name, but > is there a more generic name we could use here? Is there a language agnostic > term for what a basic block is?
Saam set me straight. This is the ideal name:
http://en.wikipedia.org/wiki/Basic_block
Saam Barati
Comment 6
2014-12-08 18:23:57 PST
Created
attachment 242868
[details]
patch Made the recommended name changes.
Saam Barati
Comment 7
2014-12-08 18:27:08 PST
Created
attachment 242869
[details]
patch (Same as above but w/ const variable that can be const).
WebKit Commit Bot
Comment 8
2014-12-08 21:01:30 PST
Comment on
attachment 242869
[details]
patch Clearing flags on attachment: 242869 Committed
r177008
: <
http://trac.webkit.org/changeset/177008
>
WebKit Commit Bot
Comment 9
2014-12-08 21:01:34 PST
All reviewed patches have been landed. Closing bug.
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