README.md in stackprof-0.2.12 vs README.md in stackprof-0.2.13

- old
+ new

@@ -95,9 +95,17 @@ The `--flamegraph-viewer` command will output the exact shell command you need to run to open the `tmp/flamegraph` you generated with the built in stackprof flamegraph viewer: ![](http://i.imgur.com/EwndrgD.png) +Alternatively, you can generate a flamegraph that uses [d3-flame-graph](https://github.com/spiermar/d3-flame-graph): + +``` +$ stackprof --d3-flamegraph tmp/stackprof-cpu-myapp.dump > flamegraph.html +``` + +And just open the result by your browser. + ## Sampling four sampling modes are supported: - :wall (using `ITIMER_REAL` and `SIGALRM`)