psst.. this blog is on hiatus.

Benchmarking JavaScript browser speed: Opera runs away with the crown

I’ve been curious for some time how to measure the efficiency and speed of various javascript engines. A neat link from Sotto gave me the answer: BenchJS JavaScript Speed Test.

I conducted some benchmarking tests on my own machine (2.6 GHz machine running Windows 2000) and confirmed what Sotto already knew: Opera blows other browsers out of the water in terms of JavaScript speed. The details of my tests are as follows:

First place: Opera 7. These results are for my just-downloaded v7.54. This speed demon completed the test in about half the time of the next best browser.
6.55 seconds (1st place)

Second place: Firefox 1.0. I was a little surprised that it beat IE, actually. Sometimes FF seems slow to me, and I thought IE might be able to cheat by magically marshalling Windows system resources. Uh, looks like no.
11.77 seconds (2nd place)

Third place: Internet Explorer 6. Maybe they should have included some IE-specific DHTML in the tests. :)
13.77 seconds (3rd place)

Fourth place: Netscape 4. Wow, big surprise here.
21.16 seconds (4th place)

3 Responses to “Benchmarking JavaScript browser speed: Opera runs away with the crown”

  1. 1
    Evan Tishuk Says:

    Very interesting. I still can’t get behind Opera. I’ve noticed that the expand/hide functionality on my site, there’s large performance gap between between FF and IE. Essentially, the JavaScript does several “getElementById” calls and then sets a few style parameters. This happens nearly instantly in FF but lags just a tad in IE (but nothing to get your panties in a ruffle about). However, based on that difference I would have expects a greater degree of seperation between IE and FF. Opera doesn’t even enter my thoughts b/c the browser sucks in so many other important ways.

  2. 2
    Monte Fato Says:

    Installer maledetti…

    Eccoci al III episodio de "La Vendetta degli Installer", girato da Bill Gates.Attori protagonisti:Me, nel ruolo del programmatore che colpito dai raggi gamma esposti dagli installer non funzionanti, ogni qual …

  3. 3
    dts Says:

    I encountered lot of javascript problems when using FF.