Changeset 28828 in webkit


Ignore:
Timestamp:
Dec 18, 2007 1:27:00 AM (16 years ago)
Author:
mjs@apple.com
Message:

Reviewed by Eric.


  • give an extra digit of precision for small differences.
  • resources/sunspider-compare-results.js:
Location:
trunk/SunSpider
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SunSpider/ChangeLog

    r28825 r28828  
     12007-12-18  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Reviewed by Eric.
     4       
     5        - give an extra digit of precision for small differences.
     6
     7        * resources/sunspider-compare-results.js:
     8
    192007-12-17  Maciej Stachowiak  <mjs@apple.com>
    210
  • trunk/SunSpider/resources/sunspider-compare-results.js

    r28669 r28828  
    307307        var probablySame = (percentage < 0.1) && !statisticallySignificant;
    308308        var ratio = isFaster ? (mean1 / mean2) : (mean2 / mean1);
    309         var fixedRatio = (ratio < 10) ? ratio.toFixed(2).toString() : ratio.toFixed(1).toString();
     309        var fixedRatio = (ratio < 1.2) ? ratio.toFixed(3).toString() : ((ratio < 10) ? ratio.toFixed(2).toString() : ratio.toFixed(1).toString());
    310310        var formattedRatio = isFaster ? fixedRatio + "x as fast" : "*" + fixedRatio + "x as slow*";
    311311
Note: See TracChangeset for help on using the changeset viewer.