~/talk

Benchmarking your application

Android Studio profiler and systrace expose method-level CPU, memory and network timing so it’s possible to pinpoint the slow method; Perfetto provides a nicer Perfetto UI and can trace on-device. Jetpack Benchmark runs a block repeatedly (dozens of iterations, typically ~50) and emits JSON nanoseconds timings and medians so CI can compare before/after. Datadog captures logs metrics and spans to spot real‑user regressions and integrates with Firebase Test Lab; a Gradle fail-on-threshold plugin enforces limits and Jetpack Benchmark gives repeatable measurements.

AI-written summary · about

  1. 0:00Benchmarking your app's performance
  2. 6:02Making sure the code works Unit Testing - Instrumented Testing Manual Testing Mutation Testing
  3. 6:55Tools Android Studio Profiler
  4. 15:03When should you use it? When you have a specific performance issue When you want to optimize a specific part of the code To debug a tricky algorithm (nested loops, concurrency)
  5. 16:43Benchmark Overview
  6. 17:07Jetpack Benchmark Library
  7. 17:32Benchmark Test Class
  8. 17:51Benchmark Test Function
  9. 19:33Run the Benchmark
  10. 23:35When should you use it? Monitor critical parts of your logic in CI When refactoring a specific feature When writing code executed on the main thread
  11. 25:17App Performance Monitoring Live performance from the trenches
  12. 31:29When should you use it? Monitor key aspects of your app in the wild
  13. 32:39Wrapping up
~/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.