~/talk

Android Benchmarking and other stories

Talkat droidcon Berlin 2022 · 2022-07-06..07-08· [testing]
slides:none on file

Three Android benchmarking tools get compared: microbenchmark (unit-like CPU tests — example: quicksort and RecyclerView scrolls run from a separate Gradle module), macrobenchmark (startup, frame timing, trace metrics; example run with five iterations producing JSON results), and JankStats (released 9 Feb 2022), an in-app jank collector with aggregation and reporting. The recommended CI flow installs APKs on real devices, stores millisecond timings with build IDs, and uses a sliding step-finding algorithm (used by Jetpack Compose) to detect real regressions vs. noise.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:12What is Android benchmarking
  3. 4:44Microbenchmark framework
  4. 7:10Macrobenchmark framework
  5. 10:20JankStats framework
  6. 13:14Detecting regressions in CI
  7. 27:31Recap 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.