New in V8: we turbocharge Math.random in JetStream2's async-fs benchmark by tracking/modifying int32 values directly in script context slots. 2.5x speedup! Read the technical deep dive: https://t.co/tHh2mDiguT
@kibertoad Yes, you'd get the benefit on Node.js as well, specially on functions that are not super hot. In general, we are also able to tier up earlier, since Maglev is cheaper than TurboFan.
Check out our new blog post delving into Maglev, V8's newest mid-tier optimizing compiler.
tl;dr: We're faster 🚀 and more energy-efficient ⚡️!
https://t.co/SbUe05Ogaj