Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 node-memory-flamegraphs

Tool for generating memory flamegraphs of Node applications

Usage

Once you have node-memory-flamegraphs installed, you can use it in a few different ways.

If you have a Node application already running with node --inspect ... or node --inspect-brk ...:

node-memory-flamegraphs

To supply the initial Node script to run in a debugger in the background, use --entry-point:

node-memory-flamegraphs --entry-point ./project/awesome.js

To delay collecting the samples, use --delay:

node-memory-flamegraphs --delay 5000

To change the sampling frequency, use --frequency:

node-memory-flamegraphs --frequency 500

Press Ctrl+C to finish sampling and to generate the flamegraph.

Screenshot

Example

License

Copyright (c) 2022 Daniel Lockyer - Released under the MIT license.

About

Tool for generating memory flamegraphs of Node applications

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages