121

GitHub - mapbox/flamebearer: Blazing fast flame graph tool for V8 and Node ?

 6 years ago
source link: https://github.com/mapbox/flamebearer
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

? flamebearer

A blazing fast flame graph tool for Node and V8. Used to visualize and explore performance profiling results. Designed to produce fast, lightweight flame graphs that remain responsive even on really big input.

Example graph

Usage

Use the online version, or the command line tool:

# install flamebearer (Node v8.5+ required)
$ npm install -g flamebearer

# profile your app
$ node --prof app.js

# generate flamegraph.html from a V8 log and open it in the browser
$ node --prof-process --preprocess -j isolate*.log | flamebearer

Thanks


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK