~/talk

Performance issues: the usual suspects

Talkat React Native EU 2022 · 2022-09-01..09-02· [react-native, web-performance]
links:none on file
slides:none on file

A dummy app with common React Native slowdowns is built and fixed live using React DevTools, Hermes profiler and Android Studio traces plus a Flipper CLI that runs automated 10-iteration measurements. Changes cut JS thread blocked time from ~9s to <4s then to ~1.4s, dropped a 400ms tweets render to ~0.4ms by extracting countdown and switching to Jotai atoms, removed a costly date parse in filterTweets, enabled lazy tabs, stopped a background skeleton animation and replaced a WebView GIF, raising the score to 96/100.

AI-written summary · about

  1. 0:00Introduction to performance issues
  2. 2:27Measuring performance with CLI tool
  3. 9:12Optimizing component re-renders
  4. 13:32Comparing performance metrics
  5. 15:45Investigating app startup
  6. 20:44Single responsibility principle
  7. 23:13Lazy rendering of tabs
  8. 25:21High algorithmic complexity
  9. 31:54UI thread performance issues
  10. 35:04Heavyweight views impact
  11. 38:20Summary of fixes
~/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.