V8 Perf is an educational collection of notes and resources about V8 internals and JavaScript performance in Node.js. It explains how V8 represents JavaScript data internally and how those representations can influence execution speed. Compiler documentation explores the Ignition interpreter, TurboFan optimizer, optimization decisions, and deoptimization behavior. Memory sections explain heap organization, garbage collection, object references, allocations, and leak investigation. Profiling material covers inspection tools, runtime flags, performance analysis, and flamegraph generation. Additional notes examine snapshots, code caching, runtime functions, and JavaScript language features from a performance perspective. The repository is primarily a technical reference for developers who want to understand why V8 and Node.js code behaves the way it does.
Features
- V8 data type internals
- Ignition and TurboFan compiler explanations
- Garbage collection architecture
- Memory leak and allocation profiling
- Performance inspection and flamegraph techniques
- Snapshots, code caching, and runtime function references