ghc-prof-flamegraph

Generates data to be used with flamegraph.pl from .prof files.

Latest on Hackage:0.1.2.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Francesco Mazzoli

This is a small tool to convert GHC time profiling reports into a format understandable by the FlameGraph (https://github.com/brendangregg/FlameGraph) tool.

To use, first convert a .prof file into the flame graph format using ghc-prof-flamegraph:

$ cat ~/src/packdeps/packdeps.prof | ghc-prof-flamegraph > packdeps.prof.folded

Then you can use the file to produce an svg image, using the flamegraph.pl script:

$ cat packdeps.prof.folded | ~/src/FlameGraph/flamegraph.pl > packdeps.prof.svg
comments powered byDisqus