Swiggy's iOS App Now Loads 12 Times Faster
Article Summary
Swiggy's iOS app was taking forever to launch. Their mobile team spent 3 months hunting down bottlenecks and achieved a 12x improvement in cold start time.
The Swiggy engineering team profiled their iOS app launch performance and discovered 90% of the delay happened post-main. They used Firebase Performance SDK and XCode instruments to identify exactly where time was being wasted, then systematically fixed each issue.
Key Takeaways
- Cold start time improved 12x through lazy initialization of singletons
- Moved config loading from sync to async operations
- 90% of launch time was post-main, only 10% pre-main
- App launch to listing conversions increased by 1.2%
- Firebase Performance SDK provided real-time monitoring across all users
Critical Insight
By focusing on post-main optimizations like lazy loading and async configs, Swiggy reduced iOS cold start time by 12x and improved conversion rates by 1.2%.