flamegraph

v1.3.0
Generates flamegraphs with Node.js or in the browser
flamegraph flamegraphs svg stack callgraph

docme

docme README.md -- --configure .jsdocrc

test-main

set -e; for t in test/*.js; do node $t; done

test-0.10

nave use 0.10 npm run test-main

test-0.12

nave use 0.12 npm run test-main

test-4

nave use 4 npm run test-main

test-6

nave use 6 npm run test-main

test-all

npm run test-main && npm run test-0.10 && npm run test-0.12 && npm run test-4 && npm run test-6

test

if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi

watch

watchify -d web/main.js -o web/bundle.js

bundle

browserify web/main.js | uglifyjs > web/bundle.js

dist:bundle

browserify ./index.js --standalone flamegraph > ./dist/flamegraph.js

dist:minify

cat ./dist/flamegraph.js | uglifyjs > ./dist/flamegraph.min.js

dist

npm run dist:bundle && npm run dist:minify
npm i flamegraph

Metadata

Downloads

Maintainers