Apple Disputes Browser Speed Findings, Says Mobile Safari's the True Contender
An anonymous reader writes "Apple has hit back over claims that the browser shipped with its iPhone, iPod Touch, and iPad devices is significantly slower than Android's equivalent, calling the independent testing 'flawed.' 'They didn't actually test the Safari browser on the iPhone,' Apple's Kerris argues. 'Instead they only tested their own proprietary app, which uses an embedded Web viewer that doesn't actually take advantage of Safari's Web performance optimisations.' This, claims testing firm Blaze.io, is news to the world. 'Embedded browsers are expected to behave, for the most part, the same as the regular browser,' the company stated, defending its methodology. 'However, Apple is now stating that their embedded browser, called UIWebView, does not share the same optimisations MobileSafari does.'"
1st post, so Chrome must be fastest...
This tagline was transcoded to result in at least one smirk. If you experience failure to smirk, please consult your Gen
I'm not sure how this is worth posting... I mean I guess there are the ad views to consider but really, this has been fully covered already in a multitude of stories.
Still, that Slashdottian Apple-hate must be worth a lot of money to Taco and friends.
This is turning into a Big Deal, isn't it?
So, Mobile Safari proper uses Nitro and has seen some good performance improvements. For reasons unknown, these changes didn't make it into apps that use UIWebView.
You don't have to be Nostradamus to see what debate that "reasons unknown" part is going to cause.
1) Apple is evil and trying to cripple web performance so that people buy apps
2) It's a bug and/or simply didn't make into iOS 4.3 because it wasn't prioritized.
Ars has a good analysis of why Mobile Safari is different than the embedded browser:
http://arstechnica.com/apple/news/2011/03/confirmed-some-web-apps-not-seeing-ios-43-javascript-speedup.ars
If they allow apps to use UIWebView with Nitro they would need to allow all those apps to mmap(PROT_EXEC,) on pages, download code and stick on to the pages and execute it - bypassing Apple's control.
Now will come a multi process WebKit2 (a la Chrome) that will allow them to only give executable page permission to WebKit2 process and apps can just do IPC to it.
It has been covered that the reason is that Nitro compiles ECMAScript down to ARM machine instructions and then sets the memory region that contains the compiled code to be executable. This is a dangerous ability for arbitrary apps to have and that's why right now only Safari on iOS 4.3 has this capability. No stupid conspiracy theories are needed here. And it's not a bug either.
When 1person suffers from a delusion,it is called insanity.When many people suffer from a delusion,it is called religion
This is turning into a Big Deal, isn't it?
So, Mobile Safari proper uses Nitro and has seen some good performance improvements. For reasons unknown, these changes didn't make it into apps that use UIWebView.
You don't have to be Nostradamus to see what debate that "reasons unknown" part is going to cause.
1) Apple is evil and trying to cripple web performance so that pople buy apps
2) It's a bug and/or simply didn't make into iOS 4.3 because it wasn't prioritized.
3) 3rd-paty applications are subject to restrictions on dynamically generated code for security. Nitro uses dynamic recompilation, which means that it can't be used int 3rd party applications. Ergo, those apps are stuck with iOS 4.2-level performance.
Farmville, right?
For justice, we must go to Don Corleone
Is this 1997? It's been ten years since browser speed was an issue, and yes these are mobile devices, but they've been faster than decade-old computers for years themselves. I haven't used a mobile browser since 2007 that gave any issues with *speed* of the browser.
It's a metric approaching the uselessness of the old "how long does it take to scroll through a word document" speed tests of the 80s and early 1990s.
Apple is accelerating JavaScript in Safari, but not UIWebView.
In fact, I think there's a bug they're working on that apps on the home screen that use UIWebView are REALLY slow.
Check out this blog post: http://inzi.com/2011/03/will-phonegap-apps-seemingly-suck-because-of-uiwebview-in-ios-4-3/
The Safari browser has Nitro JavaScript acceleration while UIWebView doesn't.
I also read that some think Apple doesn't like the web based apps cause it can bite into their app store revenue. I don't know if that's true or not.
/me sips his coffee and ponders a new sig...
So what do we have now. Natives Apps that run in he browser. If lockin and Apple rules are such an issue, then why no run he app in a browser? Probably because most develpers like the lockin and he profit opportunities i provides. They my bitch about Apple, but they are not exacty running away.
"She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
your mum's face be trippin
I know we're supposed to be Apple haters but it seems like a legitimate argument. Why not test the iPhone browser on an actual iPhone? Lots of software perform differently in different environments.
I find it laughable that companies are actually arguing over the browser performance on a device with a screen less than 4" in size. What's next, are we going to start testing surround-sound on cell phones too? Hell of a 1/4" subwoofer you got there...
I guess I'm just the only guy who still uses one of those "old-fashioned" desktop monitors or an HDTV to drive my web experience. Apparently double-digit monitors are overrated.
I haven't used an iphone for a while, so could someone bring me up to speed. If one goes to a webapp in safari that makes use of all the html5 goodies, he can just add it to the homescreen, right? Can it then launch like an application, not having the usual safari behavior of sliding around as a normal page amid other open webpages? Or does a developer essentially have to create a native app, an instance of webkit, and then wrap the html5/javascript within it to get an app written with html5/js onto the phone if he wants it to actually seem like an app instead of a webpage? Because if JIT is disabled in native apps using webkit, I can at least understand that. It's the app store, it's a big brother environment, that's common knowledge from the start. But if they're actually putting effort into slowing down performance of javascript within the context of normal OS functionality, that's something a lot more annoying.
Everything will be taken away from you.
"They didn't actually test the Safari browser on the iPhone," Kerris argues. And, We hope Apple will help us enable those [browser] optimisations and repeat the measurement. Until then, for all we know the missing optimisations may not make a big impact." So, yeah, fix your shit and stop crying.
I'm just not convinced that there's a conspiracy here. I'm pretty sure Apple has the same view I'd have. I don't think that many people are using web apps in the first place and I'm not sure if there are any native apps that could use the performance boost that Nitro in this iteration of iOS, so once Safari was set up to use the new JS engine, they shipped it.
Non impediti ratione cogitationus.
The problem isn't with the intentional ARM code written by the applications. It is with code injected into the application (via an exploitable bug, like a buffer overflow) by malicious software. Setting noexec on data pages and nowrite on code pages is a security feature that prevents a large class of remote exploits, by ensuring that only the original code is executed.
Compiling code on the fly should only be allowed on applications that have been carefully scrutinized for bugs, not every crappy app with an embedded web-browser. Even enabling it for Safari is risky, but is a lower attack surface than enabling it for any and all apps.
I don't see what the problem is...
after all when you buy apple kit you demonstrate to the world that you don't have the foggiest idea about computers and what makes them so great - you know, stuff like performance, freedom to tinker etc.
And for supporting a company that is evil (by just about any definition) you get done right up the pooper. It's a well-deserved but rather thorough and rigorous violation. What's the problem here?
Stupid iPhone...
No, it's not news to the world, it's news to Blaze.io. It was already widely reported that UIWebView didn't support the latest Safari speed boost days before their study was published.
Bogtha Bogtha Bogtha
John Gruber of Daring Fireball carefully lays out the situation in this post from a couple of days ago. I know that a lot of people like to make up all sorts of conspiracy theories and bizarre motives when it comes to Apple, but the truth is a lot more interesting and a lot less sinister: http://daringfireball.net/2011/03/nitro_ios_43
How do you know YoshiDan picked his nickname based on the Nintendo character? He may instead be paying homage to Naofumi Yamamoto.
Because, unlike an embedded browser that usually goes to a specific web page controlled by the app's developer,
The embedded browser will go to any other page too, following links. How many mobile developers are displaying pages with no links?
Are you seriously saying a Twitter client should ship with the inability to go to any link but ones the twitter app developer has whitelisted. Madness.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
With Android taking the lead, I'm surprised that this "half-ass"ing by Apple gets any approval from their consumer base... but then again, they're consumer base is (to put it nicely) unique...
To get to the point quickly (I do not own an iPhone, so...) Web Apps are basic bookmarks that you placed in launcher form on the Home Screen area. They happen to use UIWebView system instead of Mobile Safari. But they are nothing more than glorified web pages that you can "bookmark" to your Home Screen.
So, if I may ask, Why didn't Apple have those Launchers launch Safari and navigate to said webpage? Maybe have Safari's UI change so users can't see the URL bar or what not. Although it might be comparing Apples to Oranges in speed tests, WHY didn't Apple just go about it the right way instead of that really nasty way that leaves them with egg on their face? I mean seriously, they could of coded it better, and backport it to the rest since I'm sure they've had this feature for a long while.
This little script says that the user agent on my LG Optimus phone is Safari.
http://michaelsmith.id.au
Are they admitting that javascript performance is not "enhanced" universally in iOS? Makes the issue about full-screen webapp performance seem pretty legit doesn't it?
http://xkcd.com/322/
UIWebView is just a WebKit view that third-party applications can embed; it's not a complete browser on its own. MobileSafari has custom caching mechanisms and asynchronous loading, which is what Apple is referring to. There's more to a browser application than just the engine.
Pathetic Mike, is copy pasting the same trolls and changing the name.
2 out of 10, need to do better!
why do you cower in my shadow behind a chosen aviary religion based pseudonym? what are you afraid of?
you're completely pathetic.
can people stop jizzing themselves and spreading apple's shit everytime they release any little crumb of information
this shit was already covered in the goddam original submission of:
http://mobile.slashdot.org/story/11/03/17/1810253/Nexus-S-Beats-iPhone-4-In-Real-World-Web-Browsing-Tests
which linked to the bloomberg article:
http://www.bloomberg.com/news/2011-03-17/apple-iphone-loses-web-speed-test-to-google-s-android-blaze-software-says.html
which in the second section of the damn article says:
Seconds to Load
Apple regards the tests as flawed because the browser that customers access by tapping on the Safari icon on their iPhones has performance enhancements not available when users access the Web through applications, said Natalie Kerris, a spokeswoman for the Cupertino, California-based company.
No, there's more to it than that. UIWebView cannot compile arbitrary code, but Safari's JavaScriptCore (Nitro nee "Squirrelfish Extreme") does. http://arstechnica.com/apple/news/2011/03/confirmed-some-web-apps-not-seeing-ios-43-javascript-speedup.ars
I don't understand why they decided to compare the embedded browsers. "Ya, we'll go and compare Android and iPhone browser. But we won't compare the real browser, cause that would be too boring. Instead we'll compare the embedded browser, so if our assumption that it's the same turns out to be wrong, we'll become a laughing stock."
Seriously if I were doing this test, it would have never even occured to me NOT to use the real browsers in the first place.
On average, Android 2.3 was a 52% faster than iPhone 4.3, with a median load time of 2.144 seconds vs. iPhone’s median load time of 3.254 seconds.
If it were relevant (which is not the case as it's supposed to compare web browsers), then the iPhone would be 52% slower than Android. Which is equivalent to say that Android would be ~34% faster then the iPhone, not 52% faster (for this, Android would need to complete in less than half the time of the iPhone). I guess that it's not politically correct to use the negative version (iPhone is slower), but then it's hard to resist using the higher number right? ;)
Interestingly, this has been reused by all news sites without anyone spotting the error. If Paulos makes a refresh of his "Innumeracy" book, I suggest this as an new example of how people lack fluency with basic computations.
I have neither iPhone nor Android phone (although I offered an iPhone to my wife, and would be more likely to buy an Android phone for me), and I don't care much about such differences. So I would consider myself quite neutral to this discussion. But it feels like the Blaze announcement was sensationalistic and a bit sloppy from the start. Anyway, it certainly worked in getting publicity, and that's probably all they cared for.
My last troll put paid to his "fat bitch troll". Look it up, there's pics and everything. But hey, he doesn't need to, I'm pretty damn sure he was there - the comment is almost verbatim!
This tagline was transcoded to result in at least one smirk. If you experience failure to smirk, please consult your Gen
If you believe this, then Steve has a bridge to sell you. Actually, rumor has it that the bridge will come free with your iDevice 5.0.
What? Who said this is a pseudonym cower some more feeb you are pathetic
you are an ignorant hypocrite.
cower in my shadow behind your chosen tame lizard based pseudonym some more, feeb.
you're completely pathetic.
your mum's face are a tame lizard based pseudonym
cower in my shadow using last resort mimicry behind your chosen pseudonym some more, feeb.
you're completely pathetic.
Pseudonym? YoshiDan is my actual name.
cower some more, feeb.
you're completely pathetic.