Tagged articles
3 articles
Page 1 of 1
Tencent Docs Tech Team
Tencent Docs Tech Team
Oct 30, 2024 · Fundamentals

Deep Dive into V8 Engine: Compiler Pipeline, Object Model, Inline Caches, and Performance Optimizations

This article explains V8’s compiler pipeline, core components, runtime flags, tagged pointers, object model, hidden classes, inline caches, fast/slow properties, and practical JavaScript performance tips, illustrating how assumptions, feedback, and JIT compilation achieve up to ten‑fold speed improvements.

JITV8inline caches
0 likes · 32 min read
Deep Dive into V8 Engine: Compiler Pipeline, Object Model, Inline Caches, and Performance Optimizations
Tencent Cloud Developer
Tencent Cloud Developer
Sep 26, 2024 · Fundamentals

Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations

The article explains V8’s compiler pipeline from parsing to TurboFan optimization, details tagged pointers, hidden‑class object models and inline caches, and offers practical performance tips such as keeping functions short, preserving monomorphic call sites, stabilizing property order, and avoiding deletes to maintain fast property access.

JITJavaScriptTagged Pointer
0 likes · 27 min read
Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations
ELab Team
ELab Team
Jan 13, 2022 · Fundamentals

Unlocking V8: How Fast and Slow Properties Boost JavaScript Performance

This article dives into V8's internal optimizations for object properties, covering fast and slow properties, in‑object storage, hidden classes, array holes, fast/slow arrays, and inline caches, and offers practical advice for writing high‑performance JavaScript code.

Hidden ClassesJavaScriptV8
0 likes · 19 min read
Unlocking V8: How Fast and Slow Properties Boost JavaScript Performance