~/talk

Making apps blazing fast with Baseline Profiles

Talkat Android Dev Summit 2022 · 2022-10-24..11-14· [android]
slides:none on file

Claim: bundling a Baseline Profile cuts startup time (authors report ~30–40% faster) by preselecting methods for AOT so the JIT work is avoided. Generate profiles with Jetpack Macrobenchmark using collectBaselineProfile, save as baselineprof.txt, include androidx.profileinstaller so non‑Play installs apply rules. Baseline Profiles ship in the APK/App Bundle, work back to Android 7, and verify with Macrobenchmark measureRepeated (compare CompilationMode.None vs Partial) or inspect system traces for reduced JIT activity.

AI-written summary · about

  1. 0:00Intro
  2. 0:36Baseline Profiles are ready
  3. 0:51How code execution evolved in Android
  4. 7:49What are Baseline Profiles
  5. 9:12Getting started with Baseline Profiles
  6. 14:40Verifying the benefits
~/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.