~/talk

Unblocking The Main Thread: Solving ANRS and Frozen Frames

Talkat droidcon London 2024 · 2024-10-31..11-01· [android]
slides:none on file

Defines slow render as >60 ms, frozen frame as >700 ms and ANR as >5 s and shows concrete fixes: replace heavy vectors with WebP and async image loading via Coil, consolidate encrypted SharedPreferences because each instance costs ≈300 ms, share thread pools to cut thread count from 180 to 130, use coroutines with well placed dispatcher switches, run LeakCanary and LeakCanary Plumber to find framework leaks, enable R8 which yields ~25% faster hotspots and add baseline profiles for ~30% startup gains.

AI-written summary · about

  1. 0:00Introduction
  2. 3:39Slow rendering and frozen frames
  3. 8:20Memory pressure and GC
  4. 11:12Memory leaks and lifecycle
  5. 16:05Threading solutions and pools
  6. 21:10Code optimization with R8
  7. 23:37Image loading and vector drawables
  8. 25:23Dependency injection pitfalls
  9. 32:09Play Store reports and profiles
  10. 35:01Performance measurement and ANRs
  11. 37:11Performance optimization retrospective
  12. 38:57Q&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.