Android 2.2 crushes iOS 4 in Javascript benchmarks
When Google introduced Android 2.2, the company announced that one of the biggest changes was a new Just In Time (JIT) compiler which dramatically sped up Javascript performance. That means that most third party apps run faster on Android 2.2 than Android 2.1, and many web sites with Javascript elements render more quickly.
But how does Google’s latest mobile operating system stack up against Apple’s? The folks at Ars Technica ran a set of benchmarks on a Google Nexus One running Android 2.2 Froyo and an iPhone 4 running iOS 4. The results? The Nexus One won… by a wide margin.
In fact, the Nexus One performed almost twice as well using the SunSpider benchmark, and more than 3 times better in the V8 test.
It’s worth keeping in mind that the differences aren’t just due to the software. While the Nexus One and iPhone 4 both have ARM-based processors, they each use very different chips, with the Nexus One powered by a 1GHz Qualcomm Snapdragon CPU and the iPhone 4 using an Apple A4 processor. And of course, Javascript isn’t the only performance measure that matters. But it looks like if you visit a lot of Javascript-heavy web sites in your mobile browser, Android 2.2 might be a better bet than iOS 4.
Update: Chippy at CarryPad ran the SunSpider test on an Aava prototype phone running MeeGo Linux. His socre came in at 4,215.2ms, trouncing both the Nexus One and the iPhone 4. Of course, the Aava also has a 1.5GHz dual core Atom processor. While Javascript doesn’t take advantage of multicore processors, it’s tough to say whether it was the fast CPU or the fact that the device was running MeeGo that gave the Aava prototype the edge.
Oh, and just for kicks, I ran SunSpider on my 2nd generation iPod touch running iOS. It scored 30,708 — almost three times slower than the iPhone 4. Clearly the CPU is at least as important as the operating system.
Smokescreen converts Flash to JavaScript, works on iPhone
The Apple iPad, iPhone, and iPod touch may not support Adobe Flash. But that doesn’t mean you can’t access Flash content on those devices. A few weeks ago we looked at Cloud Browse, an app that basically lets you stream Flash (and other) content from a remote web browser to an iPhone. But web developer Chris Smoak has an even more interesting solution, which he calls Smokescreen.
Smokescreen is a Flash player written in JavaScript. In other words, it takes Flash content and automatically converts them to JavaScript, which allows you to access Flash content in a browser that normally doesn’t support Flash — including the Safari mobile web browser for the iPhone, iPad, and iPod touch.
The concept is kind of awesome, in that giving-Steve-Jobs-the-middle-finger kind of way. But it’s not really all that practical at this point. Smokescreen is a 175KB file which takes a long time to load. While I was able to view some of Smoak’s demos on my iPod touch, they took a long time to load and video playback was definitely not full speed.
Smokescreen worked great in my laptop web browser, but my laptop supports Adobe Flash, so I don’t exactly need a workaround.
via Gizmodo



Facebook
Twitter
Subscribe to Mobiputing's YouTube channel