~/talk

Making Workers Work For You

Talkat JS.Geo 2015 · on Thursday, 2015-10-08· [web-platform, javascript]
links:none on file
slides:none on file

Practical guide to using browser workers with measured tradeoffs and gotchas: dynamic creation via blob URLs works cross-origin, but transferable objects are inconsistently implemented (IE10/11 broken), so Blob transfers can be fastest because they pass pointers. Benchmarks show 1000 round-trip transfers from ~50ms to 400ms depending on type and browser, nested objects and Float64 arrays are slow, Firefox treats ArrayBuffer poorly, memory costs ≈250–1000KB per worker, best performance when workers ≈ CPU cores, XHR in workers loses main-thread cache.

AI-written summary · about

  1. 0:00Start
  2. 13:09RE-USE WORKERS COST FOR CREATING & DESTROYING WORKERS
  3. 14:13XHR PROXY SEND URL TO WORKER WORKER DOES XHR WORKER SENDS RESPONSE TO MAIN THREAD
  4. 19:42WORKER MGMT / MARSHALLING
~/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.