Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

30.5.10

JavaScript benchmarking on N900 PR1.2

Two months earlier, I did my JavaScript benchmarking on N900 PR1.1, and compare it with other platforms. Now, as N900 PR1.2 got released, Opera has released a preview for Maemo, and Chrome is ported to N900 by Jacekowski, I did another round of benchmarking.

V8SunSpiderPeacekeeper
MicroB (default browser)21.235.12128
FireFox21.415.84141
Opera49.524.41119
Qt 4.6.210512.04238
QtWebKit 2.01049.36286
Chrome1138.84344
For V8 and Peacemaker, the higher the score, the better performance it has. For Sunspider, it's the lower the better.

Chrome is really fast as a result of its excellent V8 JavaScript engine and frequent release cycle.

Qt 4.6.2 is still quite good, especially considering the fact that the WebKit integrated is quite old. Note that QtWebKit will be released separately from Qt, meaning we could enjoy more about the latest WebKit technology then.

However, both Opera and FireFox (MicroB uses FireFox's Gecko JavaScript engine) have quite a long way to go. Moreover, when running V8 and Peacekeeper, both MicroB and FireFox complained about unresponsive JavaScript.

20.3.10

JavaScript benchmarking on N900 and my laptop

I just ran some JavaScript benchmark tests of V8 version 5, SunSpider v0.9.1 and Peacekeeper on my laptop. My laptop is HP EliteBook 6930p, which has Intel Core 2 Duo CPU P8600 @ 2.40GHz, 4 GB RAM, running KUbuntu 9.10 with kernel 2.6.31-20-generic. Also, I ran it on my N900 PR1.1 with Qt 4.6.2, and collected some results for iPhone 3GS, Droid and Nexus One, and HTC Desire.

The following scores are from V8, the higher the better.
FireFox for Ubuntu 3.5.8 - 248
Qt 4.6.2 – 910
Chrome 5.0.307.11 Beta – 4155
QtWebKit 2.0 – 2816
N900 - 105
iPhone 3GS - no results
Droid - 39.5
Nexus One - 63.5
HTC Desire - 66.1

Then I found some results of iPhone 3GS for V8 version 3:
N900 - 103
iPhone 3GS - 53

The following scores are from SunSpider, the lower the better.
FireFox for Ubuntu 3.5.8 – 2484.7
Qt 4.6.2 – 1136.0
Chrome 5.0.307.11 Beta – 462.1
QtWebKit 2.0 – 635.6
N900 - 12.5
iPhone 3GS - 16.7
Droid - 34.2
Nexus One - 14.7
HTC Desire - 12.02

The following scores are from Peacekeeper, the higher the better.
FireFox for Ubuntu 3.5.8 – 1510
Qt 4.6.2 – 3261
Chrome 5.0.307.11 Beta – 4324
QtWebKit 2.0 – 4288
N900 - 244

Chrome’s V8 engine is really fast, and WebKit still has a long way to go!

Also, N900 performs much better than iPhone 3GS, Droid and Nexus. Considering HTC Desire, N900 wins easily on V8, but lost a little on SunSpider. However, if you consider MicroB, the default browser on N900, it’s a disaster due to the slow engine of Gecko and N900 even used a pretty old version.

Then the ACID3 test.
FireFox for Ubuntu 3.5.8 – 93
Qt 4.6.2 – 100
Chrome 5.0.307.11 Beta – 100
QtWebKit 2.0 – 100


* The test for QtWebKit 2.0 is done with the revision number of 56441.