Skip to content

Instantly share code, notes, and snippets.

@pmuellr
Last active February 7, 2017 04:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmuellr/b16a4ba365ee3123b7a80d56058d346a to your computer and use it in GitHub Desktop.
Save pmuellr/b16a4ba365ee3123b7a80d56058d346a to your computer and use it in GitHub Desktop.
N|Solid CPU profile visualizations

N|Solid CPU profile visualizations

Just noticed the following blog post from Brendan Gregg:

Flame Graphs vs Tree Maps vs Sunburst

Neat! Since it turns out the NodeSource N|Solid CPU profile displays those three visualizations.

You can find out more about generating CPU profiles for your Node.js apps using N|Solid by reading the documentation. But also read Brendan's blog above for some rationale on the different views.

The graphs below are from the same CPU profile, and all have the function getThreshold() selected, which appears green in the graphs.

Flame Graph

profile rendered as a flame graph

Sunburst

profile rendered as a sunburst

Treemap

profile rendered as a treemap

@pmuellr
Copy link
Author

pmuellr commented Feb 7, 2017

flame-graph

sunburst

treemap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment