How We Sped Up Dropbox Android App Startup by 30%
Article Summary
Dropbox's Android app was slowly dying by a thousand cuts. Over 4 months, startup time crept up unnoticed until they finally looked at the bigger picture.
The Dropbox Android team shares how they discovered their app startup had degraded over months, then systematically measured and fixed the issues. With over 1 billion installs, they needed production data, not just test device profiling.
Key Takeaways
- Firebase Performance library alone caused 7x slower initialization during startup
- Instrumented production metrics for each initialization step to find real bottlenecks
- Removed unnecessary migrations running on every launch, especially slow on older devices
- Cached expensive JSON parsing that was redundantly converting user data multiple times
- Now require measuring startup impact before adding any third party library
Critical Insight
By removing Firebase Performance, eliminating redundant migrations, and caching user loading, Dropbox cut Android app startup time by 30%.