ghc-prof-flamegraph: Generates data to be used with flamegraph.pl from .prof files.
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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
Properties
Versions | 0.1.0.0, 0.1.0.1, 0.1.0.1, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.2.0.0, 0.2.0.1 |
---|---|
Change log | None available |
Dependencies | base (>=4 && <5) [details] |
License | MIT |
Copyright | (c) 2015 FP Complete Corporation |
Author | Francesco Mazzoli |
Maintainer | francesco@fpcomplete.com |
Category | Testing |
Source repo | head: git clone https://github.com/fpco/ghc-prof-flamegraph |
Uploaded | by FrancescoMazzoli at 2015-05-18T12:07:46Z |
Downloads
- ghc-prof-flamegraph-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees