ie8 fix
madison

Hardware 2.0

Adrian Kingsley-Hughes

iOS 'web app performance issue' - Bug or feature?

By | March 15, 2011, 9:55am PDT

Summary: Apple’s iOS contains several ‘bugs’ which are hampering the performance of web apps, according to an exclusive report by the The Register. But are they ‘bugs’ or a ‘feature’?

Apple’s iOS contains several ‘bugs’ which are hampering the performance of web apps, according to an exclusive report by the The Register. But are they ‘bugs’ or a ‘feature’?

Either way, as The Register points out, it creates an uneven playing field that gives native apps (the ones where Apple gets to keep 30% of the list price) an advantage over web apps (where Apple gets $0).

It’s unclear whether these are accidental bugs or issues consciously introduced by Apple. But the end result is that, at least in some ways, the iOS platform makes it harder for web apps to replace native applications distributed through the Apple App Store, where the company takes a 30 per cent cut of all applications sold. Whereas native apps can only run on Apple’s operating system, web apps – built with standard web technologies such as HTML, CSS, and JavaScript – can potentially run on any device.

The first issue comes down to the fact that later iOS releases have two JavaScript engines - a newer, faster one called Nitro that Safari can use, and an older, slower engine that web apps, such as those used by Google and Kazaa, have access to. A good demonstration of this is running the SunSpider JavaScript benchmark both from the browser and as a web app. It takes the web app 2.6 times longer to complete the test.

Note: I can confirmed that this discrepancy between SunSpider results exists.

Another disadvantage facing web apps is that they cannot take advantage of HTML 5 caching, so the can’t be run when not connected to the Internet.

Finally, web apps are still stuck with the slower ’synchronous mode’ rendering while native apps get to use ‘asynchronous mode’ rendering.

Is this a ‘bug’ or a ‘feature’ that Apple uses to make native apps more attractive? I’m reserving judgment … if it’s fixed in a future release of iOS then it was a bug, if not, well …

Poll

Web apps on iOS devices ... do you use them?

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Adrian Kingsley-Hughes is an internationally published technology author who has devoted over a decade to helping users get the most from technology.

Disclosure

Adrian Kingsley-Hughes

All opinions expressed on Hardware 2.0 are those of Adrian Kingsley-Hughes. Every effort is made to ensure that the information posted is accurate. If you have any comments, queries or corrections, please contact Adrian via the email link here. Any possible conflicts of interest will be posted below. [Updated: February 23, 2010] - Adrian Kingsley-Hughes has no business relationships, affiliations, investments, or other actual/potential conflicts of interest relating to the content posted so far on this blog.

Biography

Adrian Kingsley-Hughes

Adrian Kingsley-Hughes is an internationally published technology author who has devoted over a decade to helping users get the most from technology -- whether that be by learning to program, building a PC from a pile of parts, or helping them get the most from their new MP3 player or digital camera.

Adrian has authored/co-authored technical books on a variety of topics, ranging from programming to building and maintaining PCs. His most recent books include "Build the Ultimate Custom PC", "Beginning Programming" and "The PC Doctor's Fix It Yourself Guide". He has also written training manuals that have been used by a number of Fortune 500 companies.

Adrian also runs a popular blog under the name The PC Doctor, where he covers a range of computer-related topics -- from security to repairing and upgrading.

The discussion hasn’t started yet. Why don’t you begin it?

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix