Poor Performance

In this document you can learn about how to profile a Node.js process.

My application has a poor performance


My applications latency is high and I have already confirmed that the bottleneck is not my dependencies like databases and downstream services. So I suspect that my application spends significant time to run code or process information.

You are satisfied with your application performance in general but would like to understand which part of our application can be improved to run faster or more efficient. It can be useful when we want to improve the user experience or save computation cost.


In this use-case, we are interested in code pieces that use more CPU cycles than the others. When we do this locally, we usually try to optimize our code.

This document provides two simple ways to profile a Node.js application:

Reading Time
1 min read
Edit this page
Table of Contents
  1. My application has a poor performance
  2. Symptoms
  3. Debugging