How to measure and improve Node.js performance
Change is the only constant in software, and few languages change like JavaScript. In just the last few years, we've had the rise of TypeScript and React, dozens of new frameworks, and Node.js has brought us over to the server-side. Google's V8, which powers Node.js, is one of the fastest JavaScript engines in existence. In simple benchmarks, well-optimized JS executed by V8 often performs almost at the same speeds as famously fast languages like C++. And yet, Node applications often seem to be pretty sluggish. This post aims to guide you through the process of measuring and improving Node.js performance.