Dropbox Marianna Budnikova Feb 9, 2021

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

Critical Insight

By removing Firebase Performance, eliminating redundant migrations, and caching user loading, Dropbox cut Android app startup time by 30%.

The article reveals why their monitoring dashboards completely missed the degradation happening right under their noses for months.

About This Article

Problem

Dropbox's monitoring charts only showed two-week windows. This meant a multi-month slowdown in app startup performance went unnoticed as the team kept adding features.

Solution

The team added detailed production instrumentation by inserting scenario steps to measure each initialization phase. They tracked migrations, service loading, and user loading across their 1 billion+ user base.

Impact

Better monitoring dashboards revealed that Firebase Performance library initialization was 7x slower than it should have been. Removing it, along with redundant migrations and user object caching, cut app startup time by 30%.