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
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.