WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 21735
21296
Remove profiling hooks when not profiling
https://bugs.webkit.org/show_bug.cgi?id=21296
Summary
Remove profiling hooks when not profiling
Cameron Zwarich (cpst)
Reported
2008-10-01 23:18:27 PDT
We currently always emit profiling hooks, even when we are not profiling. This adds unnecessary branches to function calls and returns. The solution is to regenerate code when profiling is enabled. Geoff has already done some preliminary work in this direction in
bug 21281
.
Attachments
Add attachment
proposed patch, testcase, etc.
Cameron Zwarich (cpst)
Comment 1
2008-10-02 15:33:57 PDT
Removing all branches (both the profiling branch and the activation / 'arguments' branch) from op_ret is at least a 4.3% speedup on Richards and a 1.0% speedup on DeltaBlue.
Cameron Zwarich (cpst)
Comment 2
2008-11-24 17:09:40 PST
*** This bug has been marked as a duplicate of
21735
***
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