What’s Inside TurboFan?
summary
TurboFan is presented as a unified compiler pipeline for JavaScript that introduces a new intermediate representation and backend to enable aggressive inlining and speculative feedback–driven optimizations. The talk details concrete optimization passes for property access, allocation elimination, and storage folding, describes measurement tools (trace-based benchmarks and a capture/replay suite), and shows real web workload results including a case study with about 1.65× runtime improvement and reduced memory pressure.
AI-written summary · about
chapters (8)
- 0:00TurboFan introduction
- 6:56Compiling source code
- 10:09Specialization and optimization
- 15:05Performance trade-offs
- 22:07Function optimization
- 27:15Optimizing with TurboFan
- 31:20Benchmarking performance
- 36:10Q&A
related talks
24mA Tale of TurboFan: Four Years That Changed V8 Forever
39mAlgorithms in the Front End: from V8 to VDOM
32mV8 by example: A journey through the compilation pipeline
49mWhen Fast is Faster Than Fastest
25mJavaScript engines how do they even?
17mDemystifying (JavaScript) engines
21mDemystifying Javascript Engines
23mJoin the super secret V8 club & become a JavaScriptbender
