Measuring Jank and Startup with Macrobenchmark
summary
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
chapters (9)
- 0:00Intro
- 0:27Definitions
- 1:02Why measuring performance is important
- 2:06Problems with measuring performance
- 2:23Testing app performance
- 2:50Jetpack benchmark library
- 3:22Macrobenchmark
- 5:36How does it work
- 9:11Trace Points
related talks
46mDo you need the Jetpack Macrobenchmark library?
40mMonitor App performance using Jetpack Benchmark
25mJetpack Benchmark and where to find them
33mAndroid Benchmarking and other stories
28mChasing 60 FPS: Frame Time Profiling in Jetpack Compose
26mJetpack Benchmarks and Where to Find Them
20mMeasure What Matters with Jetpack Benchmark (Lightning)
30mMeasure What Matters with Jetpack Benchmark
