Pages

Sunday, June 21, 2009

Google's JavaScript Benchmarks

Google Chrome JavaScript execution is currently the fastest. Below is the link to the benchmark suite where you can test your browser.
I currently get 1578 with Chrome 2.0.172.31 and only 130 with Firefox 3.0.11. Firefox 3.5 RC2 scores 212.
Detailed comparison below:
Google Chrome 2.0.172.31 Mozilla Firefox 3.0.11 Firefox 3.5
Richards: 1471
DeltaBlue: 1297
Crypto: 1555
RayTrace: 1841
EarleyBoyer: 2333
RegExp: 554
Splay: 3452
Richards: 111
DeltaBlue: 130
Crypto: 62.5
RayTrace: 131
EarleyBoyer: 165
RegExp: 92.3
Splay: 352

Richards: 750
DeltaBlue: 52.6
Crypto: 340
RayTrace: 154
EarleyBoyer: 186
RegExp: 132
Splay: 378

Link to the tests:
V8 Benchmark Suite
Edit: Fortunately, this week there was an announcement (what a coincidence) that Mozilla will introduce new JavaScript Just-in-Time compiler with codename TraceMonkey, to replace their current SpiderMonkey engine, that should increase JavaScript performance in Firefox 3.1 anywhere from 2 to 37 times over the previous version of the browser (3.0). Average performance improvement is calculated to be 4.6 which is on par with, if not faster than, current Google Chrome.

I have installed Firefox 3.5 RC2 and the subjective feeling of speed is greatly enhanced compared to Firefox 3.0. To turn the TraceMonkey on, read this article.

For more good news about the next generation Web, read this post.

Update 2009-07-21: Changed the Benchmark Suite link to point to the current suite version.

3 comments:

  1. Safari 4 on snow

    Score: 2724
    Richards: 3862
    DeltaBlue: 2692
    Crypto: 3059
    RayTrace: 4645
    EarleyBoyer: 4052
    RegExp: 1384
    Splay: 1346

    ReplyDelete
  2. Firefox 3.6, 2010-01-25

    Score: 566

    Richards: 1589
    DeltaBlue: 145
    Crypto: 1147
    RayTrace: 484
    EarleyBoyer: 451
    RegExp: 334
    Splay: 967

    ReplyDelete
  3. at the same time, Google Chrome 4.0.302.3

    Score: 5193

    Richards: 4591
    DeltaBlue: 4892
    Crypto: 3546
    RayTrace: 6243
    EarleyBoyer: 15778
    RegExp: 1564
    Splay: 8299

    ReplyDelete