前言
如果你希望快速了解火焰图并学习如何优化 Node.js 代码,那么这篇文档是一个很好的起点。
If you're looking to quickly get started with understanding flamegraphs and learning how to optimize Node.js code then this is a great place to start.
Setup
Getting ready
First analysis
Flamegraphs
Controls
Optimizing a hot function
Reducing the graph size
Advanced analysis
Advanced controls