~/talk

Android Benchmarking and other stories

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

Shows how to benchmark a real app using Jetpack micro and macro benchmarks and the Android Profiler, compares outputs (microbenchmarks for tight CPU hot spots, macrobenchmarks producing JSON with min/median/max and the macrobenchmark startup metric), and demos the new in‑app JankStats (released 2022‑02‑09) that reports per‑frame nanos and an isJank boolean and can aggregate before upload. Describes storing results, running on real devices or Firebase Test Lab, and detecting regressions with a sliding-window step-fitting algorithm to avoid false positives while alerting on regressions or unexpected improvements, using Android Profiler traces to guide what to benchmark.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:10What is Android benchmarking
  3. 4:22Android profiling tools
  4. 5:45Microbenchmarking basics
  5. 8:16Macrobenchmarking overview
  6. 10:45Introducing JankStats
  7. 13:54Detecting regressions in CI
  8. 21:10Regression detection approaches
  9. 25:02Statistical regression detection
  10. 29:13Key takeaways and resources
  11. 31:20Q&A and closing
~/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.