~/talk

Monitor App performance using Jetpack Benchmark

Talkat droidcon New York 2023 · 2023-09-14..09-15· [android, web-performance]
name:Sagar Das
links:none on file
slides:none on file

Jetpack Benchmark (stable since 2022) measures real results: macrobenchmark for cold/warm/hot startup and frame timing (initial vs full display) and microbenchmark for hot functions like bitmap pixel reads, showing median/min/max and percentiles (50/90/95/99) and recommending 3–5 iterations (up to 10) for stability. Android Studio creates a benchmark module, adds a profilable tag and a benchmark build variant, and you can use gradle managed devices (consistent Pixel 6 profiles) to run repeatable CI-friendly measurements.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:50Why app performance matters
  3. 3:55Jetpack Benchmark overview
  4. 5:03Macrobenchmark explained
  5. 7:10Microbenchmark explained
  6. 8:39Getting started in Android Studio
  7. 13:18Macrobenchmark metrics
  8. 16:51App startup types
  9. 19:20Writing a startup benchmark
  10. 24:19Running benchmark tests
  11. 26:04Interpreting results
  12. 28:55Trace section metrics
  13. 31:05Microbenchmark metrics
  14. 36:07Gradle managed devices
  15. 38:36Summary and key takeaways
~/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.