~/talk

Performance Profiling for V8

Talkat JSConf.Asia 2016 · 2016-11-25..11-26· [javascript, web-performance]
slides:none on file

Shows how V8 finds real bottlenecks: concrete inline caches behavior, the exact map checks that trigger monomorphic/polymorphic/megamorphic paths, and why repeated bailouts cause “not optimized” warnings. Demonstrates how to get the actual optimized machine code and deopt traces using --js-flags=... (print_opt_code, trace_deopt, etc.), how to inspect IC state with the ICC explorer, and how to run D8 or Node with V8 flags so changes to shapes, property accesses, or object layouts can be measured and fixed.

AI-written summary · about

  1. 0:00Start
  2. 1:17Javascript Engines
  3. 1:29V8
  4. 2:48Key Concepts of V8
  5. 5:01Fundamentals
  6. 6:44Just-in-Time Compilation
  7. 9:48Simple Load Function
  8. 11:59Inline Caches
  9. 17:56Optimization Bailout
  10. 21:01Icy Explorer
  11. 24:37General Warning
~/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.