~/talk

Android Benchmarking and other stories

Talkat droidcon New York 2022 · 2022-09-01..09-02· [android]
slides:none on file

Covers using Android Profiler plus Google libraries microbenchmark and macrobenchmark to measure CPU, frames and startup times (examples: sorting 10,000 items, RecyclerView scrolling), and the new in‑app junkstats to flag slow frames; benchmarks emit JSON with min/median/max (examples show runs around 651–749 ms variance) and require real devices or Firebase Test Lab. CI workflow installs APKs, runs benchmarks, stores build→time pairs, and detects regressions with a step‑fitting algorithm (sliding window) instead of naïve thresholds.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:17What is benchmarking
  3. 3:00Android Profiler overview
  4. 5:49Microbenchmark framework
  5. 9:21Macrobenchmark framework
  6. 13:18JankStats framework
  7. 16:48Detecting regressions in CI
  8. 20:01App startup time example
  9. 25:46Step fitting algorithm
  10. 29:18Recap and resources
  11. 31:03Q&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.