Even though the average Android phone doesn’t compare performance wise to an iOS device and really sucks when it comes to running complicated web apps, it’s mostly Android users here who claim that progressive web apps are the future and that Apple is holding them back.
I run my own PWA on a 2012 Samsung Galaxy S3 and the only performance problems I have, are due to bad decisions as a developer (e.g. loading all elements of a list isn't such a great idea when the list grows over time and you use the app for 3 years (so far)). So if you are serious about building PWAs you shouldn't have performance issues. Yes, they are a bit slower than native apps, but with today's devices that sho…
Mobile CPUs and the Performance Inequality Gap
21–30 of 63 posts
Re: Mobile CPUs and the Performance Inequality Gap
#22This is essentially Qualcomm vs Apple in the mobile market. But the question I've got from looking at the the Geekbench site: iPhone 11: https://browser.geekbench.com/v5/cpu/1611448 AMD 3900x 12 Zen 2 12 Core: https://browser.geekbench.com/v5/cpu/1611445 The iPhone has higher single core performance than a desktop CPU with a 105W TDP. Of course it has more cores. But am I missing something here? Is this test actually…
Re: Mobile CPUs and the Performance Inequality Gap
#23Earlier quoted context omitted.
That's because it's not performance that's holding back PWAs. With a bit of work, perf was good enough for web apps on an iPhone 4S or earlier. iPhone 4s was released in 2011, so if low-end android devices are not hitting 2012/2013 iPhone performance levels, then they're also good enough for PWAs. It's the lack of platform APIs for things like offline storage and push notifications that are holding back web apps, not…
Yeah regarding no filesystem, not sure if it is dumb but I was using Dexie(IndexedDB wrapper,) to store images as base64 strings. It works but what can suck is the time to turn it back to an image to be displayed. Which using small thumbnails it's not bad but without pagination(seems obvious you should) but it's so much data it throws a chromium-level error so idk ... But was faster to reach MVP than RN for me with m…
Re: Mobile CPUs and the Performance Inequality Gap
#24This is essentially Qualcomm vs Apple in the mobile market. But the question I've got from looking at the the Geekbench site: iPhone 11: https://browser.geekbench.com/v5/cpu/1611448 AMD 3900x 12 Zen 2 12 Core: https://browser.geekbench.com/v5/cpu/1611445 The iPhone has higher single core performance than a desktop CPU with a 105W TDP. Of course it has more cores. But am I missing something here? Is this test actually…
Not really. Arm hasn't been RISC for quite a while now (there's a "Floating-point Javascript Convert to Signed fixed-point, rounding toward Zero" instruction(!), SIMD, etc etc).
The difference can be explained partially by the memory model: x86 has total store ordering, which can be slower than Arm's weak memory model (it allows the hardware to be more creative).
> running native compiled code
There's more to it than 'running native code'. It depends a lot on what code is running (any CPU implementing the above javascript instruction would be much faster on a web benchmark for example). It also depends on the compiler. If the code is control-flow heavy, there isn't much to do except having large cache sizes and wide pipes, which most high-end, out-of-order CPU do already.
Re: Mobile CPUs and the Performance Inequality Gap
#25This is essentially Qualcomm vs Apple in the mobile market. But the question I've got from looking at the the Geekbench site: iPhone 11: https://browser.geekbench.com/v5/cpu/1611448 AMD 3900x 12 Zen 2 12 Core: https://browser.geekbench.com/v5/cpu/1611445 The iPhone has higher single core performance than a desktop CPU with a 105W TDP. Of course it has more cores. But am I missing something here? Is this test actually…
But the main difference is thermals and performance under sustained load. So far none of the Appple SoC’s have been shown to handle sustained workloads at heir highest frequency. The CPU in the most recent iPhones is known to throttle under load quite fast, and nobody but Apple knows how it would perform in an active cooling setup.
Re: Mobile CPUs and the Performance Inequality Gap
#26What do you iPhone users do with all of your power?
Meanwhile, my very high-end gaming PC struggles to play the video files from my iPhone at 60fps for some mysterious reason.
Re: Mobile CPUs and the Performance Inequality Gap
#27Re: Mobile CPUs and the Performance Inequality Gap
#28geekbench have unreliable perfromance stats that've been favoring iphone for a looong while. check your conclusions - 90% of articles with rocking iphone performance cite geekbench.
There was a version of Geekbench a while ago for which you could make a good argument for that but Geekbench 5 seems to tell the same story that Spec, web tests, etc all tell. Apple's cores really do seem to be that good though they benefit from running at the clock speed they were designed for, unlike an Intel U-series which has more pipeline stages than it needs to hit its clock. And Apple also benefits from being…
Re: Mobile CPUs and the Performance Inequality Gap
#29Lest we remind our web developer friends of the cache hierarchy, the slowest part of all here is still fetching the fricking page over the internet. On this mobile Twitter page alone two spinners are spinning simultaneously.
If, after all the network stuff, you are still taking a second to render in a world where smartphones can play Doom 3 at 60 fps - you are just taking the piss.
Re: Mobile CPUs and the Performance Inequality Gap
#30This is essentially Qualcomm vs Apple in the mobile market. But the question I've got from looking at the the Geekbench site: iPhone 11: https://browser.geekbench.com/v5/cpu/1611448 AMD 3900x 12 Zen 2 12 Core: https://browser.geekbench.com/v5/cpu/1611445 The iPhone has higher single core performance than a desktop CPU with a 105W TDP. Of course it has more cores. But am I missing something here? Is this test actually…
Yes. Of course there are going to be edge conditions where one or the other are going to shine particularly well, but overall the performance is going to be close, if not giving a nod to the Apple device.
This is the reason there have been wide expectations that Apple would move their desktop/laptop platforms to their own chips, and if rumors are true that will be next year. In a situation where their own chips had credible heat dissipation and wouldn't be subject to thermal throttling, it would be very impressive. I mean it's already spectacularly impressive, but it would be quite dominant with real cooling.
Apple needs to be careful, though, explaining their patience. There has always been the potential that Intel comes out with a game changer.
Of course in such discussions everyone is going to discount whatever benchmarks are used. Yet we've seen this in benchmark after benchmark, at generalists tasks that annihilate any trick instruction. Out of curiosity I just ran JetStream 2 -- it yields a 81.6 score on my i7 laptop, and 153 on my iPhone 11. The iPhone with incredibly poor heat dissipation.
The ARM / x86 / x86_64 / CISC / RISC things are all abstract higher level notions now and aren't the reason. Apple's team has just proven astonishingly good at designing chips. Which quite honestly I thought would turn out otherwise, and Apple would end up begging the industry for whatever the new hotness was.