~/talk

Demystifying Baseline Profile

Talkat droidcon San Francisco 2023 · 2023-06-08..06-09· [android, web-performance]
links:none on file
slides:none on file

Baseline profiles get read from APK assets, transcoded to match the device profile version, and write baseline profile at startup via the profile installer initializer or a broadcast receiver that performs a synchronous write. Macrobenchmark prep broadcasts that intent then runs adb shell cmd package compile to force AOT compilation into speed profile mode. Validation requires checking the runtime compile state and watching for failures such as OEM-locked ADB or battery optimizations that make package compile flaky.

AI-written summary · about

  1. 0:00Introduction to baseline profiles
  2. 1:17What baseline profiles do
  3. 3:07Profile installer explained
  4. 8:17Writing profiles at startup
  5. 10:51Broadcast receiver in profile installer
  6. 11:57Macrobenchmark library overview
  7. 13:22Preparing app for testing
  8. 16:35Dogfooding workflow issues
  9. 19:05App preparation for testing
  10. 21:58Package compile command failures
  11. 24:06Google Play distribution expectations
  12. 25:53Summary and Q&A
~/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.