Saturday, January 30, 2010

Web Browser JavaScript Test

The quality of web browsers is frequently discussed. Some favour Mozilla Firefox, some Opera, some Google Chrome, and many curse Internet Explorer. I'm not using Windows therefore IE is no concern of mine.

I met this web page today and I've decided to run all the diagnostic tests that are referenced there. These test include:
  • V8 Benchmark Suite - version 5
  • Acid3 Web Standarts Test
  • Sunspider JavaScript Benchmark
  • Dromaeo Performance Tests
I ran all these tests on my 64-bit Karmic Koala. I tested Mozilla Firefox version 3.5.7, Google Chrome version 4.0.249.43 and Opera 10.10.

Guess who the winner is. Not surprisingly, it's the youngest contestant - Google Chrome. Its V8 JavaScript engine is legen...wait for it...dary. Overall benchmark results are in the table. You can clearly see that Google Chrome dominates in all the JavaScript tests. There is a huge gap between Chrome and the second Firefox. The poorest did Opera. Acid3 test showed some problems in Firefox, all other browsers were flawless.


ChromeFirefoxOpera
V82763211168
Acid3100/10093/100100/100
Sunspider596.2 ms2909.4 ms4953.4 ms
Dromaeo209.83 runs/s44.79 runs/s28.43 runs/s