~/talk

Improving performance for React & Electron Apps

Talkat React Day Bangalore 2022 · 2022-06-08..06-09· [react, web-performance]
links:none on file
slides:none on file

Electron apps show a few surprising bottlenecks: a single top-level require can block startup by about 300 ms, heavy Node modules delay the first UI, and V8 spends compile time unless assets are reused. Solutions include deferring requires, swapping large libs for lightweight ones or node http, splitting and fingerprinting chunks to take advantage of V8 snapshot and on-disk compiled caches, moving long tasks to web workers or background Node processes, using service workers for offline, and adding bundle size regression tests and RUM-based metrics.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:33Startup performance differences
  3. 7:02Loading content strategies
  4. 9:34Caching JavaScript assets
  5. 14:33Session restoration techniques
  6. 15:59Main thread blocking issues
  7. 17:43Main process long tasks
  8. 20:10Offline and slow network handling
  9. 21:16Continuous performance improvement
  10. 22:40Key metrics and user focus
  11. 26:30Regression testing and tooling
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.