Live data from Hacker News

Safari Vs Chrome iOS JavaScript Benchmark

pastebin.com

1–10 of 42 posts

Re: Safari Vs Chrome iOS JavaScript Benchmark

#3
post #2

... Chrome on iOS is using the native iOS render, IIRC. So wouldn't this test be testing the same thing?

No, not exactly.

Chrome is using the web view without JIT compiling for JavaScript that Safari can take advantage of. That being said, it's not something that's surprising. It's a known issue.

Re: Safari Vs Chrome iOS JavaScript Benchmark

#4
post #2

... Chrome on iOS is using the native iOS render, IIRC. So wouldn't this test be testing the same thing?

No, apps using UIWebView don't get the "fast" JS engine, for security reasons. Only MobileSafari has that.

EDIT: Gah, beaten by a few seconds by jasonlotito.

Re: Safari Vs Chrome iOS JavaScript Benchmark

#7
post #2

... Chrome on iOS is using the native iOS render, IIRC. So wouldn't this test be testing the same thing?

From what I understand, Chrome (and any non-native app) doesn't have access to the JavaScript engine that Safari does. That's why the JavaScript benchmark results are so disparate between Safari and Chrome for iOS.

Re: Safari Vs Chrome iOS JavaScript Benchmark

#8
post #6

It looks better and feels snappier, so these tests are surprising...

It wouldn't surprise me to discover that Google's team did lots of their own performance tweaking and tuning to compensate for their disadvantage. I do love the responsiveness. Now their Gmail app on the other hand was painful for me to use.
Post reply on HN