<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/is-the-cost-of-javascript-s-gc-really-that-high--bqeedvczv" -->

---
title: Is the COST of JavaScript’s GC REALLY that high? | daily.dev
description: How much overhead is there really for garbage collection, is it as high as so many people say it is?  My Courses: https://simondev.teachable.com/  Support me...
canonical: https://daily.dev/posts/is-the-cost-of-javascript-s-gc-really-that-high--bqeedvczv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Is the COST of JavaScript’s GC REALLY that high? | daily.dev
og:description: How much overhead is there really for garbage collection, is it as high as so many people say it is?  My Courses: https://simondev.teachable.com/  Support me...
og:url: https://daily.dev/posts/is-the-cost-of-javascript-s-gc-really-that-high--bqeedvczv
og:image: https://api.daily.dev/og/posts/bqeeDvCzv.png
og:image:alt: Is the COST of JavaScript’s GC REALLY that high?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Is the COST of JavaScript’s GC REALLY that high?

**[SimonDev](https://daily.dev/sources/simondev758)** · 13 min read · 0 upvotes · 0 comments

## Summary

How much overhead is there really for garbage collection, is it as high as so many people say it is?

My Courses: https://simondev.teachable.com/

Support me on Patreon: https://www.patreon.com/simondevyt

Follow me on:
Twitter: https://twitter.com/iced_coffee_dev
Instagram: https://www.instagram.com/beer_and_code/

Garbage Collection is often cited as a major source of performance problems in JavaScript. In this vdeo, we explore garbage collection a bit, and try to understand when and how the overhead is high and when it isn't.

Links:
https://en.wikipedia.org/wiki/Tracing_garbage_collection
https://v8.dev/blog/free-garbage-collection
https://v8.dev/blog/trash-talk

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=easvMCCBFkQ>

---

Tags: [#game-development](https://daily.dev/tags/game-development)

[View this post on daily.dev](https://daily.dev/posts/is-the-cost-of-javascript-s-gc-really-that-high--bqeedvczv)

```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":"Is the COST of JavaScript’s GC REALLY that high?","url":"https://daily.dev/posts/is-the-cost-of-javascript-s-gc-really-that-high--bqeedvczv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/is-the-cost-of-javascript-s-gc-really-that-high--bqeedvczv"},"datePublished":"2026-02-13T12:34:17.717Z","dateModified":"2026-02-13T14:21:58.530Z","description":"How much overhead is there really for garbage collection, is it as high as so many people say it is?\n\nMy Courses: https://simondev.teachable.com/\n\nSupport me...","image":"https://i.ytimg.com/vi/easvMCCBFkQ/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/easvMCCBFkQ/sddefault.jpg","isAccessibleForFree":true,"articleSection":"SimonDev","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":"SimonDev","logo":"https://media.daily.dev/image/upload/s--QPCbPzt5--/f_auto,q_auto/v1770986046/logos/simondev758","url":"https://daily.dev/sources/simondev758"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/is-the-cost-of-javascript-s-gc-really-that-high--bqeedvczv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"game-development","timeRequired":"PT13M","video":{"@type":"VideoObject","name":"Is the COST of JavaScript’s GC REALLY that high?","description":"How much overhead is there really for garbage collection, is it as high as so many people say it is?\n\nMy Courses: https://simondev.teachable.com/\n\nSupport me...","thumbnailUrl":"https://i.ytimg.com/vi/easvMCCBFkQ/sddefault.jpg","uploadDate":"2026-02-13T12:34:17.717Z","duration":"PT13M","url":"https://api.daily.dev/r/bqeeDvCzv","embedUrl":"https://www.youtube.com/embed/easvMCCBFkQ"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SimonDev","item":"https://daily.dev/sources/simondev758"},{"@type":"ListItem","position":3,"name":"Is the COST of JavaScript’s GC REALLY that high?"}]}
```

