~/talk

V8 and How It Listens to You

Talkat AmsterdamJS Conference 2017 · on Thursday, 2017-06-08· [javascript]
slides:none on file

V8 now runs source through Ignition to collect a feedback vector then feeds hot functions to TurboFan and emits machine code that embeds object maps so loads become single instructions the optimizer triggers after ~100k–200k calls and requires at least 25% of ICs to have type info (and rejects if >30% are generic). Deoptimization builds a full interpreted stack and is very expensive; the pipeline works but polymorphic and stale ICs cause surprising slowdowns.

AI-written summary · about

  1. 0:00Start
  2. 8:38INLINE CACHES TO MAINTAIN AND OBSERVE LAYOUT
  3. 14:58FEEDBACK WORKFLOW
  4. 15:23PARSING
  5. 15:57COMPILING BYTECODE
  6. 17:04PROFILING
  7. 23:41THINGS TO CONSIDER WHEN OPTIMIZING
  8. 26:44OPTIMIZED EXECUTION
  9. 27:27CONCLUSION
~/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.