WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
125554
Simple getter access performance has regressed by 1.5x since release safari
https://bugs.webkit.org/show_bug.cgi?id=125554
Summary
Simple getter access performance has regressed by 1.5x since release safari
Oliver Hunt
Reported
2013-12-10 18:36:14 PST
So this simple benchmark: var j = 1; var o = {get foo() { return j+=0.31; } } var start = new Date; var result = 0; for (var i = 0; i < 10000000; i++) result += o.foo var end = new Date; print("Took: " + (end -start) + "ms. Result -> " + result); Is now 1.5x slower on trunk than in released safari. I wonder if this is due to calling convention changes, so i've cc'd michael. Haven't had time to analyse at all as i came across this while working on caching prototype accessor lookups
Attachments
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2016-09-09 10:09:58 PDT
<
rdar://problem/28227246
>
Saam Barati
Comment 2
2016-09-09 10:50:51 PDT
I wonder if this is still the case. I suspect we're actually much faster today for this benchmark than we used to be.
Saam Barati
Comment 3
2016-09-09 11:16:21 PDT
I'll run some tests over the weekend when I have time to rollback to an old webkit.
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