ghc-prof-flamegraph: Generates flamegraphs from GHC .prof files.

[ mit, program, testing ] [ Propose Tags ]

This is a small tool to convert GHC time profiling reports into a format understandable by the FlameGraph ( tool.

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

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

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

$ cat | ~/src/FlameGraph/ >

You can also generate a flamegraph using the allocation measurements, using the --alloc flag, number of entries using --entries flag, number of bytes allocated using --bytes. In order to use --bytes or --ticks flag one have to run program with +RTS -P -RTS in order to get those measurements.

Versions [RSS] [faq],,,,,,
Dependencies base (>=4.6 && <5), filepath, optparse-applicative, process [details]
License MIT
Copyright (c) 2015 FP Complete Corporation
Author Francesco Mazzoli
Category Testing
Source repo head: git clone
Uploaded by FrancescoMazzoli at 2019-10-27T23:15:09Z
Distributions NixOS:
Executables ghc-prof-flamegraph
Downloads 3992 total (27 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2019-10-28 [all 3 reports]


Maintainer's Corner

For package maintainers and hackage trustees