~/talk

From Debugging to Real-World Tuning: A Practical Guide to Compose Performance

Talkat droidcon London 2025 · 2025-10-30..10-31· [android, web-performance]
name:Zheng Dai
links:none on file
links:none on file
links:none on file
slides:none on file

TikTok relataes a reproducible Compose performance workflow: use Layout Inspector, BTrace-style traces and macrobenchmark to pinpoint whether bottlenecks sit in composition, measure/layout or draw; a lazy grid measurement spike at 600 ms lazy grid measure reveals thousands of items being remeasured; engineers build an online hook for recomposition counts to monitor production at scale for tens of millions DAUs; mitigations include state scoping, remember for modifiers, adding a baseline profile + merged lambdas step (Radex) and the changes measurably reduce recompositions and UI jank.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Compose performance fundamentals
  3. 4:42Identifying performance issues offline
  4. 8:35Debugging recomposition with breakpoints
  5. 10:00Advanced tracing for performance analysis
  6. 12:32Benchmarking Compose UI performance
  7. 16:03Online monitoring of recomposition
  8. 18:53Product team optimizations
  9. 21:00Reducing recomposition with derived states
  10. 23:49Stabilizing modifiers
  11. 24:10TikTok story album tuning
  12. 27:24Baseline profiles for startup
  13. 29:31Merging lambdas to reduce overhead
  14. 31:22Q&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.