3 ms·
> Is this any different from on iOS? No. > Are you allowed to create native code-generators on iOS? Absolutely not (unless you jailbreak of course). In fact,
by masklinn 15y ago
> Is this any different from on iOS?
No.
> Are you allowed to create native code-generators on iOS?
Absolutely not (unless you jailbreak of course). In fact, due to this UIWebView are not JITed either and in-application browsers have significantly worse performances than the standalone Safari application or pinned "offline web applications": the latter two are "opted out" of sandbox restrictions and can generate executable code at runtime.
- taligent 15y agoIt is NOT significantly worse otherwise nobody would use it. But lots of apps do use it e.g. Linkedin, Facebook, Reeder, Google Search, iCab Mobile etc and it is not noticeably worse.
- trevrr 15y agoName dropping doesn't prove anything.
- masklinn 15y ago> It is NOT significantly worse It's a fourfold difference (~2200ms versus ~9100ms on three runs of each) on synthetic benchmarks (Sunspider 0.9.1 on an iPhone 4S running iOS 5.1.1, UIWebView was tested through Instapaper 4.2), which I would call significantly worse. > otherwise nobody would use it. Performance is not everything: they are convenient especially given iOS's debatable story for switching between applications (especially back and forth between an application and a web browser). > But lots of apps do use it e.g. Linkedin, Facebook, Reeder, Google Search, iCab Mobile etc and it is not noticeably worse. It's "not noticeable"[0] for JS-light websites because... well the JIT is for javascript code, running JS slower doesn't matter if there's no JS code. [0] it is most definitely noticeable, many sites — especially full-page non-mobile ones with ads shit — load significantly faster using Safari than using embedded UIWebView.
- gurkendoktor 15y agoI just downloaded Facebook from the German App Store today and spent some time reading the reviews. The app averages at 2 stars and most people complain specifically about terrible performance. I can confirm this on an iPad 1, FWIW. Hard numbers would be more interesting.