While testing 0.0.18 I noticed the app seemed slow to boot & laggy at times. I profiled it using the App Startup profiling, as well as SwiftUI and good old fashioned CPU profiling, found the main bottlenecks and removed them:
Limit the number of rows read from the DB to populate the deck
Remove Sentry profiling integration
Turns out we have to pay more money for this and we can profile the app locally just fine for now
Defer SentryIntegration.start()
For me this seems to cut down launch time by nearly a second in the simulator. Hopefully that carries over to a real device!
While testing 0.0.18 I noticed the app seemed slow to boot & laggy at times. I profiled it using the App Startup profiling, as well as SwiftUI and good old fashioned CPU profiling, found the main bottlenecks and removed them:
For me this seems to cut down launch time by nearly a second in the simulator. Hopefully that carries over to a real device!