~/talk

Creating & Scaling Meaningful Performance Tests in CI

Talkat droidcon New York 2022 · 2022-09-01..09-02· [testing, devops-and-delivery]
links:none on file
slides:none on file

Focus on macro user flows you can control, reproduce, and impact — e.g., a ~4s app startup broken into traced spans — and avoid unmocked network or dynamic-content tests that add noise (one run showed a 1.5s difference from backend variance). Collect Perfetto traces and query them via the Perfetto SQL layer, supplement with Simpleperf sampling for flame graphs to pinpoint functions, and run Macrobenchmark or UI Automator in CI at PR cadence. Trade-offs are cost, accuracy and speed; custom UI Automator setups give flexibility but increase maintenance.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:14What is mobile performance
  3. 6:51Framework for testable metrics
  4. 13:10Tools for measuring performance
  5. 26:47Controlling variance in tests
  6. 27:51Macrobenchmark in CI
  7. 31:43UI Automator for testing
  8. 34:28Scaling performance tests
  9. 37:57Summary and key takeaways
~/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.