~/talk

Tracking app responsiveness at scale using JankStats

Talkat droidcon New York 2025 · 2025-06-25..06-26· [web-performance]
slides:none on file

Bit Drift integrates the Jetpack library JankStats in production to collect per‑frame callbacks (a single listener) and the library’s isJank flag, then categorizes frames by duration into slow (<700ms), frozen (700ms–5s) and ANR (>5s). Implementation notes: durations vary by API level (different fields for UI vs render vs GPU threads) and callbacks may run on main or background threads. Aggregation uses janky‑frames/total‑frames ratios and percentiles like P90/P99 and surfaces session exemplars for focused debugging.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27What is JankStats
  3. 4:00Why jank matters
  4. 6:27Tracking janky frames
  5. 8:52Janky frame definitions
  6. 12:25API level differences
  7. 15:10User context in jank
  8. 17:18Aggregating jank data
  9. 20:11Analyzing jank in Bit Drift
  10. 21:57How JankStats works
  11. 24:03Q&A
~/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.