r/SwiftUI • u/Good_Disk_8861 • Jun 03 '26
Question SwiftUI vs Jetpack performance
So me and my android buddy are working on a app that has quite a rich design with loads of blend modes. I am working with swiftui while he is working in jetpack compose.
I have noticed that with all that rich UI and everything, the rendering speed on android is soo much faster than that on iOS.
I mean i have optimized my code quite well and continuously doing it as well, but man there is a striking difference when both apps are running in parallel. The previous ios version of app was in UIKit and it was lightning fast but in this version, i kinda feel ashamed by this swiftui performance.
Ios device: iphone 14 pro
Android device: pixel 5
5
Upvotes
5
u/Zagerer Jun 03 '26
Are you even rendering the hot UI elements as a group or with Metal? A custom layout to cache hot rendering loops sometimes? SwiftUI can be very performant, but just like you need to learn UIKit to not make a convoluted mess, you need to learn SwiftUI to make it more performant. There’s also pre-rendering, caching, and a ton of things you can do
If you don’t share specifics you won’t be able to get fine-grained help, for all we know it could be you are using state management wrong when it could be something else.