~/talk

Performance profiling for V8

Talkat JS Kongress 2016 · 2016-11-28..11-29· [javascript]
slides:none on file

V8 profiling shows exact failure modes: inline caches (ICs) go from monomorphic to polymorphic to megamorphic, causing extra map checks and deoptimizations; deopt loops can trigger “not optimized too many times” and disable optimization after repeated bailouts; runtime tools include Chrome DevTools CPU profiler plus flags like --trace-ic and --print-opt-code and the ICE/inline cache Explorer (iced tea) and d8; the talk demonstrates reading optimized machine code, tracing IC states, and fixing code patterns so the optimizer actually sticks.

AI-written summary · about

  1. 0:00Start
  2. 4:59Dynamically Typed
  3. 6:25In-Time Compilation
  4. 7:29Function Load
  5. 9:25Simple Load Function
  6. 11:12Inline Caches
  7. 12:35Optimizing Compilers
  8. 13:56Machine Code
  9. 15:13Check Maps
  10. 16:14Deoptimization Bailout
  11. 18:33Line Cache Explorer
  12. 21:43Optimizations
~/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.