WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
Bug 64404
Need a way to force functions to be inlined in debug.
https://bugs.webkit.org/show_bug.cgi?id=64404
Summary
Need a way to force functions to be inlined in debug.
David Levin
Reported
2011-07-12 15:51:58 PDT
Function calls (in hot code paths) can make the code really slow due to the function call overhead alone but the need to step into these function is minimal. In order to add useful debug functionality, it would be useful to make these key places faster by forcing the code to be inlined. Specifically, forcing inlining of wtfThreadData() in currentThread() should allow for currentThread to have comparable speed to isMainThread().
Attachments
Add attachment
proposed patch, testcase, etc.
David Levin
Comment 1
2011-07-20 14:37:09 PDT
Actually this isn't needed anymore. I did the necessary speed ups in
https://bugs.webkit.org/show_bug.cgi?id=64577
without it.
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