WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20819
JSValue::isObject() is slow
https://bugs.webkit.org/show_bug.cgi?id=20819
Summary
JSValue::isObject() is slow
Cameron Zwarich (cpst)
Reported
2008-09-12 17:40:25 PDT
JSValue::isObject() shows up as 2.4% of the Shark profile for the V8 Earley-Boyer benchmark. The recent changes to property access should make this easier to implement efficiently. I am assigning this to myself.
Attachments
Patch that is a slowdown, but shouldn't be
(3.35 KB, patch)
2008-09-12 19:37 PDT
,
Cameron Zwarich (cpst)
no flags
Details
Formatted Diff
Diff
Proposed patch
(5.69 KB, patch)
2008-09-12 21:31 PDT
,
Cameron Zwarich (cpst)
mjs
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Cameron Zwarich (cpst)
Comment 1
2008-09-12 19:37:34 PDT
Created
attachment 23386
[details]
Patch that is a slowdown, but shouldn't be This is a 0.7% speedup on SunSpider, but it is a regression on V8, including a small regression on Earley-Boyer and a large 6.4% regression on Richards. I don't really know what's up with this.
Cameron Zwarich (cpst)
Comment 2
2008-09-12 21:31:46 PDT
Created
attachment 23388
[details]
Proposed patch This patch that also does the same thing for JSCell::isString() is a 0.7% speedup on SunSpider and a 1.0% speedup on the V8 benchmark suite.
Maciej Stachowiak
Comment 3
2008-09-12 21:32:54 PDT
Comment on
attachment 23388
[details]
Proposed patch r=me
Cameron Zwarich (cpst)
Comment 4
2008-09-12 21:58:00 PDT
Landed in
r36368
.
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