~/talk

Let the Main Thread Breathe!

Talkat Conf42 JavaScript 2020 · 2020-09-30..10-01· [web-platform, web-performance]
slides:none on file

Shows how to stop UI jank by moving heavy work off the main thread using WebWorker, Worklet, WebAssembly. Demonstrates using Comlink to promisify postMessage for calling worker functions, moving Redux-style reducers into a worker, and encoding camera video to MP4 in-browser without blocking. Claims latency overhead exists but overall reliability and responsiveness improve (60fps budget ~16.6ms). Gives a practical AssemblyScript + loader flow for compiling and instantiating WASM modules.

AI-written summary · about

  1. 0:00Main thread performance
  2. 4:27Main thread struggles
  3. 8:436ms budget for 60fps
  4. 13:39Web Workers effectively
  5. 17:33Reliability with Web Workers
  6. 20:06WebAssembly for performance
  7. 24:41WebAssembly’s reliability
  8. 25:46Introducing Worklets
  9. 27:09CSS Paint API
  10. 29:15Let main thread breathe
~/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.