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
127567
Skip op_profiler callbacks if !VM::m_enabledProfiler
https://bugs.webkit.org/show_bug.cgi?id=127567
Summary
Skip op_profiler callbacks if !VM::m_enabledProfiler
Mark Lam
Reported
2014-01-24 10:43:15 PST
The profiler may not be always active (recording). When it's not active (as in VM::m_enabledProfiler is null), then we might as well skip the op_profiler callbacks. The callbacks themselves are already gated by a VM::enabledProfiler() check. For the DFG, we'll turn the op_profiler handling into speculation checks and OSR exit to the baseline JIT if the profiler becomes active.
Attachments
the patch.
(11.33 KB, patch)
2014-01-24 11:11 PST
,
Mark Lam
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2014-01-24 11:11:59 PST
Created
attachment 222121
[details]
the patch.
Geoffrey Garen
Comment 2
2014-01-24 11:20:53 PST
Comment on
attachment 222121
[details]
the patch. r=me Any speedup here?
Geoffrey Garen
Comment 3
2014-01-24 11:21:14 PST
Ah, I see: "This brings the Octane score up to ~3000 from ~2840."
Mark Lam
Comment 4
2014-01-24 13:20:18 PST
Thanks. The patch has passed the layout tests. Landed in
r162718
: <
http://trac.webkit.org/r162718
>.
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