DEV Community

Under the Benchmark Series' Articles

Back to Mohsen Fallahnejad's Series
CPU Cache and JavaScript: Why Sorting an Array Can Make Loops 7x Slower
Cover image for CPU Cache and JavaScript: Why Sorting an Array Can Make Loops 7x Slower

CPU Cache and JavaScript: Why Sorting an Array Can Make Loops 7x Slower

Comments
4 min read
Layout Thrashing: Why Reading offsetWidth in a Loop Freezes the Page
Cover image for Layout Thrashing: Why Reading offsetWidth in a Loop Freezes the Page

Layout Thrashing: Why Reading offsetWidth in a Loop Freezes the Page

Comments
4 min read
V8 Garbage Collection: Why Middle-Aged Objects Are the Expensive Ones
Cover image for V8 Garbage Collection: Why Middle-Aged Objects Are the Expensive Ones

V8 Garbage Collection: Why Middle-Aged Objects Are the Expensive Ones

Comments
5 min read
Hidden Classes in V8: Why Object Shape Changes Speed
Cover image for Hidden Classes in V8: Why Object Shape Changes Speed

Hidden Classes in V8: Why Object Shape Changes Speed

Comments
5 min read
Sliced Strings in V8: How a 20-Character ID Keeps 1 MB Alive
Cover image for Sliced Strings in V8: How a 20-Character ID Keeps 1 MB Alive

Sliced Strings in V8: How a 20-Character ID Keeps 1 MB Alive

Comments
4 min read
Packed vs Holey Arrays in V8: Why new Array(n) Makes Spread 4x Slower
Cover image for Packed vs Holey Arrays in V8: Why new Array(n) Makes Spread 4x Slower

Packed vs Holey Arrays in V8: Why new Array(n) Makes Spread 4x Slower

Comments
6 min read