Skip to content

Instantly share code, notes, and snippets.

@svsh227
Last active December 27, 2019 05:09
Show Gist options
  • Save svsh227/fae3ba7a15069d62f8d39f3f6ec9c316 to your computer and use it in GitHub Desktop.
Save svsh227/fae3ba7a15069d62f8d39f3f6ec9c316 to your computer and use it in GitHub Desktop.
Create a Flame Graph for your node app | Profiling nodeJS app
//package.json
{
"name": "flame-graph-exercise",
"version": "1.0.0",
"private": true,
"scripts": {
"start": "node --perf-basic-prof-only-functions app.js"
},
"author": "Shubham Verma",\
"dependencies": {
"express": "^4.14.1",
"fast-levenshtein": "^2.0.6"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment