Poor Performance

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

My application has a poor performance

Symptoms

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.

Debugging

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:

Tiempo de Lectura
1 min read
Contribuir
Edit this page
Tabla de Contenidos
  1. My application has a poor performance
  2. Symptoms
  3. Debugging