Generate a flame graph by dragging a JSON V8 log on this page:

node --prof app.js # profile your app (Node v8.5+ required)
node --prof-process --preprocess -j isolate*.log > v8.json # generate a V8 log
# then drag and drop the resulting file here