WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
101782
[v8?] 37% SunSpider regression
https://bugs.webkit.org/show_bug.cgi?id=101782
Summary
[v8?] 37% SunSpider regression
Ojan Vafai
Reported
2012-11-09 12:10:55 PST
It shows in some of the other sunspider tests as well, but here are the most clear graphs.
http://build.chromium.org/f/chromium/perf/chromium-rel-win7-webkit/sunspider/report.html?rev=166898&graph=math-spectral-norm&trace=t&history=150
http://build.chromium.org/f/chromium/perf/chromium-rel-win7-webkit/sunspider/report.html?rev=166898&graph=access-fannkuch&trace=t&history=150
http://build.chromium.org/f/chromium/perf/chromium-rel-win7-webkit/sunspider/report.html?rev=166898&graph=bitops-3bit-bits-in-byte&trace=t&history=150
It's clearly not a chromium side change. Chromium regression range:
http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog.html?url=/trunk/src&mode=html&range=166683:166688
WebKit regression range:
http://trac.webkit.org/log/?verbose=on&rev=133904&stop_rev=133902
Looks pretty clearly to be
http://trac.webkit.org/changeset/133904/
, since we got the equivalent performance gain when
http://trac.webkit.org/changeset/133429/
was committed. It would be good to understand what
http://trac.webkit.org/changeset/133429/
does better so we can understand: a) Why it makes sunspider so much faster. b) Why it made the other tests slower and use more memory.
Attachments
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2012-11-09 12:12:03 PST
This is also probably V8 only, but I don't have an easy way to verify that.
Ojan Vafai
Comment 2
2012-11-09 12:21:04 PST
Also a 7% *improvement* on dom_perf CreateNodes:
http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/dom_perf/report.html?rev=166857&graph=CreateNodes&trace=score&history=150
And a 20% regression on dom_perf GetElements:
http://build.chromium.org/f/chromium/perf/mac-release-10.6-webkit-latest/dom_perf/report.html?rev=166869&graph=Get%20Elements&trace=score&history=150
Adam Barth
Comment 3
2012-11-09 12:23:04 PST
Huh? I don't understand how
http://trac.webkit.org/changeset/133429/
could have affected SunSpider.
Ojan Vafai
Comment 4
2012-11-09 12:30:52 PST
Yeah, if you look at when the patch was landed and reverted though, it's clearly this revision. I think the v8 properties we're changing must have an effect we don't understand?
Adam Barth
Comment 5
2012-11-09 12:31:30 PST
Maybe the feature itself slows down sunspider and that patch just happened to turn it off?
Dimitri Glazkov (Google)
Comment 6
2012-11-09 15:00:25 PST
wat. This makes no sense :-\
Ojan Vafai
Comment 7
2012-11-10 22:58:30 PST
To be clear, these tests take ~2ms to run, so a 30% regression is relatively small. We should considering changing our sunspider harness on these bots to do runs/second so we can get more useful numbers. I think someone needs to take a look at what the IDL changes affect in terms of the code generator output to make sense of this. Just a guess though.
Kentaro Hara
Comment 8
2012-11-10 23:06:13 PST
(In reply to
comment #7
)
> I think someone needs to take a look at what the IDL changes affect in terms of the code generator output to make sense of this. Just a guess though.
The IDL change just changed DOM attributes that have [Conditional=SHADOW_DOM]. So at the very least, it will affect behaviors where SHADOW_DOM is enabled. On the other hand, SunSpider is not yet using SHADOW_DOM, right?
Hajime Morrita
Comment 9
2012-11-11 23:20:24 PST
(In reply to
comment #8
)
> (In reply to
comment #7
) > > I think someone needs to take a look at what the IDL changes affect in terms of the code generator output to make sense of this. Just a guess though. > > The IDL change just changed DOM attributes that have [Conditional=SHADOW_DOM]. So at the very least, it will affect behaviors where SHADOW_DOM is enabled. On the other hand, SunSpider is not yet using SHADOW_DOM, right?
Anders Carlsson
Comment 10
2013-09-12 22:36:12 PDT
V8 is gone.
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