~/talk

Fluttering at 60 FPS

Talkat droidCon Berlin 2019 · 2019-07-01..07-03· [flutter, web-performance]
links:none on file
slides:none on file

Explains why 60 FPS really means a 16 ms budget and shows how Flutter splits work across the UI and GPU threads so slow Dart code or expensive clips kill frames. Reveals that setState simply marks an element dirty not diffs state, that const widgets and stable keys avoid full subtree rebuilds, and that repaint boundaries and using compute for heavy work fix common slow paths. Demonstrates tools: performance overlay, profile mode timeline and repaint rainbow; five clipped animated widgets on a midrange phone makes the app stall.

AI-written summary · about

  1. 0:00Introduction to Flutter performance
  2. 1:10Why 60 FPS matters
  3. 2:35Flutter threading model
  4. 5:23Widget tree and element lifecycle
  5. 8:13How Flutter updates UI
  6. 14:58When to optimize Flutter apps
  7. 18:28Optimizing setState usage
  8. 21:42Using inherited widgets efficiently
  9. 24:54Avoiding widget fragmentation
  10. 26:00Offloading work from UI thread
  11. 27:05Render object optimizations
  12. 28:31Repaint boundaries explained
  13. 29:54Avoiding expensive clipping
  14. 31:18Debug vs release vs profile modes
  15. 33:04Performance overlay tool
  16. 34:29Debugging widget rebuilds
  17. 35:34Repaint rainbow visualization
  18. 36:39Advanced profiling with timeline
  19. 39:30Q&A and closing
~/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.