[Webkit-unassigned] [Bug 20547] New: bitops-bitwise-and.js in SunSpider is misleading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 27 11:42:28 PDT 2008


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

           Summary: bitops-bitwise-and.js in SunSpider is misleading
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ian.eng.webkit at gmail.com


I run the test, most time were spent on accessing a global variable (read and
write): bitwiseAndValue.
If we move the code into a function and declare bitwiseAndValue be a local, the
execution is reduced from 72ms to 10ms.

To make the benchmark name accurate, either it should be renamed to 'access'
category as Maciej suggested, or move the code into a function and declare the
varaible as a local.


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



More information about the webkit-unassigned mailing list