~/talk

Skipping Compose performance problems in one commit

Talkat AndroidMakers by droidcon 2025 · on Thursday, 2025-04-10· at 13:45· [web-performance, reactive-programming]

Claim: a whole class of Jetpack Compose recomposition problems gets fixed in one commit by marking real immutables instead of guessing. Reproduce with Layout Inspector (70+ unnecessary updates), generate a stability report with compose-compiler-report.html, then fix unstable types by adding a stability configuration file and a small wrapper/data-class equals implementation (byte[] → data class). After those two small commits the recomposition counters go to zero for unaffected nodes and the input alone updates, proving the change and the measured win.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Compose is awesome
  3. 3:56Layout Inspector
  4. 10:05Smart Recomposition
  5. 15:25Stability Reports
  6. 18:45Annotations
  7. 23:20Tools
  8. 25:25Wrappers
  9. 27:31Stability Configuration File
  10. 29:13Solving the problems
  11. 31:03Testing the solution
  12. 37:22Outro
~/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.