~/talk

Win on startup time! Improving app launch performance

TalkinJapaneseat DroidKaigi 2024 · 2024-09-11..09-13· [web-performance, observability]
name:yanmar
links:none on file
slides:none on file

Shows how to measure Android cold start with Macrobenchmark (10 iterations) to capture TTI, then add reportFullyDrawn to get TTFD and use Android Studio CPU profiler to find OnCreate bottlenecks. Recommends replacing auto-added content providers with the App Startup library, generating baseline and launch profiles embedded in the APK, and using Firebase Performance Monitoring; combining baseline+launch profile tuning gives roughly 10–20% startup improvements while profiler-driven fixes find the biggest wins.

AI-written summary · about

  1. 0:00Introduction
  2. 1:093 types of app startup
  3. 4:44TTID and TTFD metrics
  4. 6:54Performance checks and tools
  5. 10:10Macrobenchmark creation
  6. 15:11CPU profiler bottlenecks
  7. 18:02Startup library benefits
  8. 23:26Baseline profiles optimization
  9. 28:07DEX split via startup profiles
  10. 32:16Post-release monitoring
  11. 34:42Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.