[Webkit-unassigned] [Bug 43255] Millisecond timing is too imprecise in SunSpider

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 2 19:16:03 PDT 2011


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


Paul Biggar <pbiggar at mozilla.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |FIXED




--- Comment #3 from Paul Biggar <pbiggar at mozilla.com>  2011-07-02 19:16:03 PST ---
Actually, this one got fixed. (Apologies, I should have resolved this at the time).

The sunspider shell test harness was changed to call the run() function, which returns submillisecond timing, which fixed this.

(Spidermonkey added the same run() function, so that fixes it on our end too).


Here was the changeset (r72842)

2010-11-29  Geoffrey Garen  <ggaren at apple.com>

        Reviewed by Gavin Barraclough.

        Improved accuracy of command-line SunSpider.

        * resources/sunspider-standalone-driver.js: Use the returned number of
        elapsed milliseconds from "run" and "checkSyntax" instead of measuring
        ourselves, for slightly more accurate numbers.

-- 
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