WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
58677
globalObject moved to JSObjectWithGlobalObject.cpp inhibits inlining
https://bugs.webkit.org/show_bug.cgi?id=58677
Summary
globalObject moved to JSObjectWithGlobalObject.cpp inhibits inlining
Michael Saboff
Reported
2011-04-15 11:55:37 PDT
Created
attachment 89824
[details]
Patch to move globalObject() to JSObjectWithGlobalObject.h As part of
r60057
, globalObject() was moved from JSDOMBinding.h to JSObjectWithGlobalObject.cpp. This limits a compilers ability to inline, especially in other components, namely WebCore. This is causing a performance regression. Moving globalObject() back to a .h file is worth ~5% on the dromaeo DOM benchmark.
Attachments
Patch to move globalObject() to JSObjectWithGlobalObject.h
(2.82 KB, patch)
2011-04-15 11:55 PDT
,
Michael Saboff
no flags
Details
Formatted Diff
Diff
Updated patch with bug reference in ChangeLog
(2.95 KB, patch)
2011-04-15 12:57 PDT
,
Michael Saboff
oliver
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
WebKit Review Bot
Comment 1
2011-04-15 11:56:43 PDT
Attachment 89824
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Michael Saboff
Comment 2
2011-04-15 12:57:54 PDT
Created
attachment 89835
[details]
Updated patch with bug reference in ChangeLog
Mark Rowe (bdash)
Comment 3
2011-04-15 13:09:20 PDT
Comment on
attachment 89835
[details]
Updated patch with bug reference in ChangeLog “equivolent”
Oliver Hunt
Comment 4
2011-04-15 13:16:19 PDT
Comment on
attachment 89835
[details]
Updated patch with bug reference in ChangeLog r=me
Jeff Miller
Comment 5
2011-04-15 13:47:42 PDT
Comment on
attachment 89835
[details]
Updated patch with bug reference in ChangeLog View in context:
https://bugs.webkit.org/attachment.cgi?id=89835&action=review
> Source/JavaScriptCore/ChangeLog:10 > + it for a performance benefit. An equivolent instance had been in
Typo - equivolent
Michael Saboff
Comment 6
2011-04-15 13:51:30 PDT
Committed
r84030
: <
http://trac.webkit.org/changeset/84030
>
Michael Saboff
Comment 7
2011-04-15 14:01:59 PDT
Note that I fixed the "equivalent" typo before landing the patch.
WebKit Review Bot
Comment 8
2011-04-15 18:20:29 PDT
http://trac.webkit.org/changeset/84030
might have broken WinCE Release (Build)
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