Samuel
@samuel.fm
app performance pro tip: your app is a lot faster if you use an iPhone 18 pro
10 3 103
Michel Bestaat
Devs should be provided with shitty hardware, such that their code will run smooth on low end devices and insanely fast on high end.
2 13
jack
surely there are? can you not run like an iPhone SE in Xcode?
2 2
Samuel
sure you can but its not simulating literal iPhone SE hardware, the software goes as fast as the Mac can run it. which is more or less midrange iPhone speed although wildly different limiting factors
1 3
Samuel
the key is to run the simulators on GitHub Actions runners. those are shitty enough to simulate the lowest possible end devices
2 7
jack
Oh interesting?? I had always assumed it’d throttle the emulator to whatever the phone was
1 1
Kuba Suder 🇵🇱🇺🇦
Nope - it's a simulator not an emulator, the code is even compiled separately to the Mac's arch in the simulator target, so it used to be that it was compiled to x86 and the device target compiled to arm64
1 3
Kuba Suder 🇵🇱🇺🇦
That's a difference from Android app dev, where the SDK has an emulator that runs like a VM, emulating real hardware, which is why iirc Android devs always complained that it's super slow and annoying 😅
1 3
Kuba Suder 🇵🇱🇺🇦
On iOS it at least used to be that the simulated app in the simulator on x86 ran much much faster than the app on the actual device, so you couldn't detect some performance issues until running on the device, right now it's probably about the same
1 2
1 more reply
yen is building stuff
Browser dev tools have the ability to simulate throttling network speeds. Very handy for things like this
James O’Gorman
I'm still on a 13 mini and don't want anything bigger but I wouldn't say no to an 18 Pro landing in my lap 🫣
2
Robert Atkins
I seriously suggested doing this instead of coding around some shitarse behaviour of some ancient Android device a dozen of our users had. Would have been an order of magnitude cheaper than the developers’ time.
1
Jon Ayre
Works absolutely fine on a cheap five year old Android phone. Sounds a bit sus if older iPhones are struggling.
1 1
Samuel
the big difference is the high refresh rate screen, it is literally twice as fast so of course it feels snappier
1
Jon Ayre
Isn't it just 120Hz like a lot of phones? Mine's 120Hz. I'm out of the loop on iPhones so not sure what previous versions had tbh. 120Hz has been a flagship standard expectation for a while now.
Bitey
I got the iphone 18 Pro++, it has a 'turbo' button
JauntyWunderKind
Astra's opinion: > My vote is “caveat prodevsumptor.” It sounds just respectable enough that someone might need a second to realize you've committed crimes against Latin.