~/talk

Optimising React Native "Tools and Tips"

Talkat React.js Conf 2016 · on Tuesday, 2016-02-23· [react-native, web-performance]
slides:none on file

Perf work targets concrete bottlenecks: use perf monitor overlay, marker-based CTrace profiling and a JavaScriptCore CPU profiler to find where anonymous functions consume ~48% of cycles, fix an expensive regex that reduces startup and scrolling lag, and correct list keys to move a product from <10 FPS to 60 FPS. The codebase changes include debouncing bridge calls, incremental UI updates, and shifting layout work off the main thread to shadow and background threads so native rendering stops blocking frames.

AI-written summary · about

  1. 0:00Intro
  2. 0:27NATIVE APPS FEEL BETTER
  3. 4:01PREMATURE OPTIMIZATION IS THE ROOT OF ALL EVIL
  4. 8:13SYSTRACE
  5. 8:34MARKERS ON SENSITIVE BRIDGE OPERATIONS AUTOMATICALLY INJECTED MARKERS ON ALL NATIVE MODULES
  6. 11:44CPU PROFILER
  7. 16:57SHOULD COMPONENT UPDATE
  8. 17:57AVOID RENDERING SUBTREES
  9. 18:50CORE OPTIMISATIONS
  10. 19:07DE-BATCHING
  11. 22:10INCREMENTAL UI UPDATES
  12. 23:08THAT'S NOT HOW IT WORKS
  13. 24:00DON'T ASSUME. PROFILE!
~/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.