Android 2.2 JavaScript Performance Roasts iOS4

From DailyTech: Ars Technica recently pitted Android 2.2 (Froyo) against Apple's iOS4 in JavaScript benchmark tests. The findings show a Froyo-equipped Nexus One "demolishing" Apple's mobile Safari browser on the iPhone 4.

Froyo received some "significant performance improvements" over previous Android builds, thanks to the addition of a high-performance Just In Time (JIT) compiler for the Dalvik Virtual Machine. For a better understanding of what a JIT does, there is no one better to explain than the tech leader for the Dalvik team, Dan Bornstein.

"The JIT is a software component which takes application code, analyzes it, and actively translates it into a form that runs faster, doing so while the application continues to run,"Bornstein blogs.

Ars Technica ran two JavaScript benchmark tests: SunSpider, which tests the core JavaScript language, helpful when comparing different browsers to each other; and the V8 Benchmark Suite, which tests OS kernel, encryption and decryption, raytracing, and more.

"The results show that the Android device delivers significantly faster JavaScript execution than the iPhone, scoring over three times better on V8 and almost twice as fast on SunSpider," Ars Technica writes.
This means that not only is Google outpacing Safari in terms of desktop browsers, but its mobile browsers deliver better performance as well. Now we can only hope that Froyo rolls out to other Android devices sooner rather than later.

View: Article @ Source Site