<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/turbocharging-v8-with-mutable-heap-numbers-v8-aljp7chjk" -->

---
title: Turbocharging V8 with mutable heap numbers · V8 | daily.dev
description: The V8 team recently optimized JavaScript&#x27;s performance, specifically targeting the async-fs benchmark which saw a 2.5x improvement due to changes in how...
canonical: https://daily.dev/posts/turbocharging-v8-with-mutable-heap-numbers-v8-aljp7chjk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Turbocharging V8 with mutable heap numbers · V8 | daily.dev
og:description: The V8 team recently optimized JavaScript&#x27;s performance, specifically targeting the async-fs benchmark which saw a 2.5x improvement due to changes in how...
og:url: https://daily.dev/posts/turbocharging-v8-with-mutable-heap-numbers-v8-aljp7chjk
og:image: https://api.daily.dev/og/posts/aLjp7Chjk.png
og:image:alt: Turbocharging V8 with mutable heap numbers · V8
og:image:width: 1200
og:image:height: 630
og:locale: en
---

[V8](https://daily.dev/sources/v8)

[Read post](https://api.daily.dev/r/aLjp7Chjk)

# [Turbocharging V8 with mutable heap numbers · V8](https://api.daily.dev/r/aLjp7Chjk "Go to post")

The V8 team recently optimized JavaScript's performance, specifically targeting the async-fs benchmark which saw a 2.5x improvement due to changes in how Math.random's seed value is handled. They implemented a two-part optimization focusing on slot type tracking and mutable heap numbers to enhance efficiency, avoiding frequent heap allocations and leveraging integer operations. These changes contribute to a significant boost in the overall JetStream2 benchmark score.

[#javascript](/tags/javascript "Check all #javascript posts")[#performance](/tags/performance "Check all #performance posts")[#v8](/tags/v8 "Check all #v8 posts")

Feb 25, 2025•5m read time•From [v8.dev](https://api.daily.dev/r/aLjp7Chjk "v8.dev")

[![Post cover image](https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010)](https://api.daily.dev/r/aLjp7Chjk "Go to post")

Table of contents

[The target async-fs and a peculiar Math.random #](https://api.daily.dev/r/aLjp7Chjk?a=the-target-async-fs-and-a-peculiar-math.random "The target async-fs and a peculiar Math.random #")[The bottleneck #](https://api.daily.dev/r/aLjp7Chjk?a=the-bottleneck "The bottleneck #")[The solution #](https://api.daily.dev/r/aLjp7Chjk?a=the-solution "The solution #")[The results #](https://api.daily.dev/r/aLjp7Chjk?a=the-results "The results #")

25 Impressions4 Upvotes

Comment

Bookmark

Copy

![Placeholder image for anonymous user](https://media.daily.dev/image/upload/s--qsFuKGv_--/t_logo,f_auto/public/noProfile)Share your thoughtsPost

[![V8's image](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0cc7af7d23ee41d395473fd298dad108)](https://daily.dev/sources/v8)

[V8](https://daily.dev/sources/v8 "https://daily.dev/sources/v8")

The V8 Blog provides updates, technical deep dives, and insights on V8, Google's open-source JavaScr... Read more

15 Followers

•

25 Upvotes

#### Would you recommend this post?

Copy link

WhatsApp

Facebook

X

New Squad

Copy linkShare with your friends

4

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Turbocharging V8 with mutable heap numbers · V8","url":"https://daily.dev/posts/turbocharging-v8-with-mutable-heap-numbers-v8-aljp7chjk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/turbocharging-v8-with-mutable-heap-numbers-v8-aljp7chjk"},"datePublished":"2025-02-25T14:42:21.938Z","dateModified":"2025-02-25T14:42:37.472Z","description":"The V8 team recently optimized JavaScript's performance, specifically targeting the async-fs benchmark which saw a 2.5x improvement due to changes in how...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","isAccessibleForFree":true,"articleSection":"V8","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"V8","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0cc7af7d23ee41d395473fd298dad108","url":"https://daily.dev/sources/v8"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/turbocharging-v8-with-mutable-heap-numbers-v8-aljp7chjk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,performance,v8","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"V8","item":"https://daily.dev/sources/v8"},{"@type":"ListItem","position":3,"name":"Turbocharging V8 with mutable heap numbers · V8"}]}
```

