~/talk

Measuring Jank and Startup with Macrobenchmark

Talkat Google I/O 2021 · 2021-05-18..05-20· [android]
slides:none on file

Jetpack Macrobenchmark is a concrete tool that measures startup and frame timing, not vague advice: it measures cold warm and hot startup, runs repeated iterations while captures systrace per iteration to pinpoint slow frames, and stores results and traces so regressions are reproducible — including outputs JSON for CI and Studio links to inspect the trace. Example shows a mispackaged JPEG causing one slow icon and a quick fix that materially reduces jank.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Definitions
  3. 1:02Why measuring performance is important
  4. 2:06Problems with measuring performance
  5. 2:23Testing app performance
  6. 2:50Jetpack benchmark library
  7. 3:22Macrobenchmark
  8. 5:36How does it work
  9. 9:11Trace Points
~/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.