~/talk

Jetpack Benchmark : Jetpack Component which help you Benchmark your Android AppPie_06_Javent Lienata

Talkat droidcon APAC 2020 · 2020-12-14..12-15· [testing, android]
links:none on file
slides:none on file

Jetpack Benchmark runs instrumentation tests to measure real Android performance, with BenchmarkRule.measureRepeated, JSON output, and CI scripts that start a rooted emulator, lock CPU clocks on rooted emulator and pull artifacts. Example findings: iteration style shows only small tradeoffs but inline functions give large speedup (non-inline vs inline differs by orders of magnitude), inflating layouts reports ~41,000 ns for one layout, and the repo + Gradle setup for a separate benchmark module with debuggable=false works end-to-end.

AI-written summary · about

  1. 0:00Introduction to Jetpack Benchmark
  2. 1:08Why benchmark your app
  3. 3:14Benchmarking Kotlin code examples
  4. 8:09Basics of manual benchmarking
  5. 11:26Jetpack Benchmark library overview
  6. 13:57Quick start setup guide
  7. 17:12Layout inflation benchmark example
  8. 20:21Additional Jetpack Benchmark configs
  9. 23:37CPU clock stability and locking
  10. 25:45Running benchmarks on CI
  11. 31:51Resources and further reading
  12. 32:36Q&A: Method performance trade-offs
  13. 34:53Q&A: When to benchmark methods
  14. 38:33Closing and thanks
~/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.