👨💻 Developed by Matheus Ramalho de Oliveira
🏗️ Brazilian Software Engineer
✉️ kastorcode@gmail.com
🦫 LinkedIn • Instagram
This module is designed to analyze and enhance the performance of JavaScript applications, it includes tools and techniques for benchmarking and detecting memory leaks, ensuring that applications run effectively.
The 01-benchmarking folder compares two different implementations that solve the same problem.
The 02-memory-leak folder explores how to detect and prevent memory leaks in JavaScript applications.
- 01-example-heap: Example of Node.js heap memory overflow error;
- 02-memory-leak-events: Demonstrates how to look for memory leaks using
climemfor real-time heap memory monitoring,autocannonfor performing multiple HTTP requests, and the0xandcliniclibraries for generating HTML flame graphs; - 03-cluster-nodejs: It uses the Node.js
clustermodule to create an orchestrator and, for each CPU core, a web server instance, increasing responsiveness, furthermore, whenever a worker is terminated, a new one is automatically created.
<kastor.code/>