performance javascript mobile iphone webdev

Result table (SunSpider 0.9.1, all devices running iOS 5)

Test iPhone 4S iPhone 4 iPhone 3GS
Total 2270ms 3483ms 4903ms
3D 281ms 486ms 672ms
Access 279ms 410ms 614ms
Bitops 177ms 200ms 270ms
Controlflow 20ms 26ms 34ms
Crypto 164ms 211ms 315ms
Date 332ms 528ms 770ms
Math 219ms 433ms 553ms
Regexp 88ms 117ms 151ms
String 711ms 1072ms 1525ms

Raw results

iPhone 4S (iOS5)

iPhone 4 (iOS5)

iPhone 3GS (iOS5)

Bonus: FishIETank (10 fish) (Canvas test)

Test iPhone 4S iPhone 4 iPhone 3GS
Total 50fps 35fps 25fps

One thing to note here: the 3GS has a bit of an advantage because of a non-retina screen. However, it’s still outperformed easily by the iPhone 4 and 4S.

JavaScript SunSpider benchmark: iOS 4.3 vs iOS 4.0
BlackBerry Torch SunSpider results (JavaScript benchmark)
iPhone 4 SunSpider test results (22% faster than iPhone 3GS)
JavaScript SunSpider test: iOS 3.1.3 versus iOS 4 GM
JavaScript SunSpider: HTC Evo versus HTC Incredible versus Nexus One

comments powered by Disqus