~/talk

Blast Off_ Managing Hundreds of UI Updates for Emoji Cannons

Talkat Droidcon London 2023 · 2023-10-26..10-27· [frontend-architecture]
slides:none on file

Builds an emoji cannon in Jetpack Compose and shows concrete fixes: replace normal modifiers with offset lambda and use graphicLayer for rotation/alpha to eliminate ~300 recompositions per emoji, then add a unique ID plus the key utility function so removing finished items doesn’t recompose siblings. Stress test sent 10,000 emojis, skipped 728 frames and 12s GC pause with ~200MB allocs; after fixes memory drops back to ~95MB and animations run smoothly. Tools: Layout Inspector, memory profiler, MutableStateFlow.

AI-written summary · about

  1. 0:00Introduction to emoji cannons
  2. 2:35Performance issues with recompositions
  3. 5:05Firing 10,000 emojis
  4. 7:54Fixing list recomposition issues
  5. 9:46Production example at Tilt
  6. 12:15Key takeaways and particle effects
  7. 14:03Closing and hiring
~/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.