~/talk

Jetpack Benchmark and where to find them

Talkat DroidKaigi 2023 · 2023-09-14..09-16· [android]
links:none on file
slides:none on file

Shows using Jetpack Benchmark (micro and macro) to find and fix a RecyclerView scroll bottleneck that drives app startup from about 6s down (users report scrolling fixes), with a sample measurement of 7084 ms for a full smooth scroll. Uses measureRepeated, compares parsers (Moshi fastest), runs tests on physical devices via GitHub Actions, outputs JSON results and CI creates PRs with JSON diffs to detect regressions and enforce performance.

AI-written summary · about

  1. 0:00Jetpack Benchmark intro
  2. 2:27Benchmarking matters
  3. 4:40Jetpack Benchmark library
  4. 6:03Macro vs micro benchmarks
  5. 7:28Setting up Benchmark
  6. 9:58Writing benchmark test
  7. 11:33Benchmark states
  8. 12:59Zatoo’s benchmark
  9. 14:49CI benchmark automation
  10. 17:20Comparing results across versions
  11. 20:32Benchmark result examples
  12. 21:16New Benchmark features
  13. 23:48Benchmarking vs tests
  14. 24:08Closing remarks
~/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.