My Journey: Adding Baseline Profiles to a Production-Based Android App: Success or Failure?
summary
Up Next TV Series Manager is a 2,000‑install app with four bottom‑nav entry points; the goal is faster cold startup using AGP 8.2.0 and Android Studio Hedgehog’s baseline profile generator module plus UI Automator and macrobenchmark. A baseline file (baseline-prof.txt) is generated on a physical Android 13+ device from repeated cold‑start interactions (10 runs) that use compose test tags and reportDrawnWhen. Time‑to‑initial‑display drops from 424.1 ms to 368.7 ms and time‑to‑full‑display from 630 ms to 486.6 ms — about a 13.06% improvement and 22.79% improvement.
AI-written summary · about
chapters (14)
- 0:00Introduction and journey
- 1:52About the app and its setup
- 7:11Understanding app startup states
- 12:30Startup metrics we measure
- 14:18What are baseline profiles
- 17:52Benefits of baseline profiles
- 18:12Creating baseline profiles
- 21:03Baseline profile generator setup
- 24:56Defining benchmark interactions
- 29:20Running the baseline profile generator
- 32:06Testing baseline profile impact
- 36:43Results and improvements achieved
- 37:48Tips and key learnings
- 39:13Closing and resources
related talks
28mMaking apps blazing fast with Baseline Profiles
20mMaking apps blazing fast with Baseline Profiles
39mAndroid App Performance in a Nutshell
36mActionable App Performance Measurement
34mMaking apps blazing fast with Baseline Profiles
05mWorkshop: Inspect and improve app performance
41mModern App Performance
42mPerformance Paradox: Navigating the Complexities of Mobile App Optimisation
