Android 2.2 cleans up with iOS4 in JavaScript Performance

by: James TromansJuly 8, 2010
iOS 4 vs Android 2.2

iOS 4 vs Android 2.2

Ars Technica have released some statistics revealing the performance of Android 2.2 in comparison to the iOS 4 platform. Specifically, the performance benchmarks were based on JavaScript using SunSpider and V8.

To be honest, I am slightly surprised someone had not performed these tests already as they were screaming out to be run. First, it should be noted that the results show “JavaScript execution in Froyo’s Web browser is almost three times faster than in the previous version of the [Android] platform.” This is something we were expecting due to the high-performance JIT that was introduced in Android’s Dalvik runtime environment.

What is interesting is just how much better Android 2.2 performs at these JavaScript tests than the iOS. In the SunSpider tests, Android performs almost twice as quickly while in the V8 tests it receives a score four times greater than the iPhone 4. If you are interested in learning more about the JIT compiler introduced into Froyo and how this impacts Android, check out this article here from taranfx.

  • After upgrading from Android 2.1 to 2.2 on my Nexus One I noticed a massive performance increase in rendering web pages with JavaScript. Another win for Android.

  • Walt French

    It’d be nice to see some realistic benchmarks — complicated, but real webpages that enjoy a meaningful boost from the javascript speedups. I have yet to find a single page that actually needs linpack’s Gaussian matrix inversion, and even the broader V8 seems to emphasize elements more appropriate to CGI or statistics work than to what people mostly attempt in browsers.