~/talk

Making apps blazing fast with Baseline Profiles

Talkat droidcon San Francisco 2022 · 2022-06-02..06-03· [android, web-performance]
slides:none on file

Claims that embedding Baseline Profiles into an APK yields near-instant optimized installs, using AGP’s Profgen to convert baseline.prof into compact DEX metadata, and Play’s DEX metadata or the Profile Installer to apply it at install or first run. Workflow uses Jetpack Macrobenchmark and BaselineProfileRule to generate rules and measure effects. Results show measurable wins — a Now in Android sample cuts ~60 ms to first frame and Maps reports ~30% faster cold launch — baseline profiles ship in libraries like Compose and work.

AI-written summary · about

  1. 0:00Introduction to Baseline Profiles
  2. 1:09App compilation and launch process
  3. 3:56Evolution of app optimizations
  4. 8:12Cloud profiles and their limitations
  5. 11:21Baseline profiles explained
  6. 13:28Declaring baseline profile rules
  7. 15:55Using baseline profiles in Play
  8. 17:20Profile Installer for older platforms
  9. 19:03Generating baseline profile rules
  10. 21:26Measuring performance improvements
  11. 23:32Macrobenchmark under the hood
  12. 24:58Case studies: Maps and Play
  13. 26:42Why baseline profiles matter now
  14. 27:24Tools and resources
~/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.