[Webkit-unassigned] [Bug 125554] New: Simple getter access performance has regressed by 1.5x since release safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 10 18:38:01 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=125554

           Summary: Simple getter access performance has regressed by 1.5x
                    since release safari
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com
                CC: ggaren at apple.com, msaboff at apple.com, fpizlo at apple.com


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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list