Hi my aim is to get an idea of the slowdown 3rd party apps face on android, relative to the stock browser, on the SunSpider JavaScript benchmarks. In this post I would like to focus on Twitter since it is available on both iPhone and android.
As everyone is aware there are restrictions on iOS which means that 3rd party apps perform significantly slower on JavaScript functionality relative to Safari (the stock browser on iPhone).
I have an iPhone 4S with iOS 6.1.3. When I run the benchmark SunSpider 1.0 JavaScript Benchmark (see lower down for how I run SunSpider inside Twitter) then I get the following :
Safari : 1833ms +/- 1.3%
Twitter : 6900.1ms +/- 0.3% (Chrome browser etc also perform around this time).
Therefore I see a slowdown of 6900.1/1833 = 3.7 times.
What sort of slowdown do people get on Android (when comparing Twitter to the stock android browser)?
Note I run sunspider inside twitter by doing a search for "sunspider h". Then the 5th result from the top is :
"The H - News
JavaScript benchmark Sunspider reaches version 1.0..."
I click the hyperlink and then in the resulting webpage scroll down to the hyperlink in the line : "The new version of Sunspider is available to use...". In this way I run sunspider from within Twitter.
Which seems odd. I'd have thought Chrome would be faster
Why? This is wrong assumption, Chrome is usually slower.