FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Turbocharging V8 with mutable heap numbers
NewsWeb Development

Turbocharging V8 with mutable heap numbers

via V8 BlogVictor Gomes, the bit shifter1y ago

At V8, we're constantly striving to improve JavaScript performance. As part of this effort, we recently revisited the JetStream2 benchmark suite to eliminate performance cliffs. This post details a specific optimization we made that yielded a significant 2.5x improvement in the async-fs benchmark, contributing to a noticeable boost in the overall score. The optimization was inspired by the benchmark, but such patterns do appear in real-world code . The target async-fs and a peculiar Math.random # The async-fs benchmark, as its name suggests, is a JavaScript file system implementation, focusing on asynchronous operations. However, a surprising performance bottleneck exists: the implementation of Math.random . It uses a custom, deterministic implementation of Math.random for consistent results across runs. The implementation is: let seed ; Math . random = ( function ( ) { return function ( ) { seed = ( ( seed + 0x7ed55d16 ) + ( seed << 12 ) ) & 0xffffffff ; seed = ( ( seed ^ 0xc761c23c )

Continue reading on V8 Blog

Opens in a new tab

Read Full Article
14 views

Related Articles

X tries to limit creator revenue for foreign influencers but Musk intervenes
News

X tries to limit creator revenue for foreign influencers but Musk intervenes

The Verge • 5d ago

Best Vacuum Deals for Amazon's Spring Sale: Dyson, Shark, Bissell (2026)
News

Best Vacuum Deals for Amazon's Spring Sale: Dyson, Shark, Bissell (2026)

Wired • 5d ago

Your First Parser
News

Your First Parser

Lobsters • 5d ago

This Anker portable power station will keep your devices running during an outage - and it's 46% off
News

This Anker portable power station will keep your devices running during an outage - and it's 46% off

ZDNet • 5d ago

Amazon’s Spring Sale Is Blooming With Smart Bird Feeders
News

Amazon’s Spring Sale Is Blooming With Smart Bird Feeders

Wired • 5d ago

Discover More Articles