~/talk

Keynote: Making JavaScript on WebAssembly Fast

Talkat OpenJS World 2021 · 2021-06-02..06-03· [webassembly, javascript]
slides:none on file

Packages SpiderMonkey as a WebAssembly module and uses wiser snapshotting to preinitialize the JS engine state so instantiation skips most setup. Snapshotting yields a 6× faster startup on a markdown test with about 80% of time previously in engine initialization moved into the build step. Throughput uses AOT-friendly tricks: parameterized inline cache stubs, where 2 KB of IC stubs covers 95% of Octane, letting interpreted/AOT runs approach JIT-like performance on constrained platforms.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Why JavaScript on WebAssembly
  3. 4:57Use cases for fast JS on WASM
  4. 8:05JS engine performance breakdown
  5. 11:11Speeding up initialization
  6. 14:43Optimizing throughput
  7. 18:37Call to action and thanks
~/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.