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

Опубликовано: 16 Октябрь 2024
на канале: SimonDev
92,972
3.8k

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:   / simondevyt  

Follow me on:
Twitter:   / iced_coffee_dev  
Instagram:   / 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...
https://v8.dev/blog/free-garbage-coll...
https://v8.dev/blog/trash-talk