All articles

Tagged: Memory

7 min read

JavaScript Performance & Memory: Fast, Smooth, Leak-Free

A practical guide to making JavaScript fast — the single-threaded model and avoiding main-thread blocking, debounce and throttle, memoization, efficient DOM updates and batching, memory leaks and how they happen, garbage collection, WeakMap/WeakSet, and measuring with DevTools — with hands-on exercises and solutions.

JavaScriptPerformanceMemoryAdvanced