@hackage profiteur0.4.7.1
Treemap visualiser for GHC prof files
Categories
License
BSD-3-Clause
Maintainer
Jasper Van der Jeugt <m@jaspervdj.be>
Links
Versions
Installation
Dependencies (13)
- aeson >=0.6 && <2.3
- base >=4.8 && <5
- bytestring >=0.9 && <0.13
- containers >=0.5 && <0.7
- file-embed >=0.0.10 && <0.0.12
- filepath >=1.4 && <1.5 Show all…
Dependents (1)
@hackage/acme-everything
Package Flags
embed-data-files
(off by default)
Embed data files into the executable (needed for ghcjs packaging)
profiteur
Profiteur is a visualiser for GHC .prof files.
Installation
cabal install profiteur
Installation via nix
nix-shell -p haskellPackages.profiteur
Usage
ghc --make -auto-all -prof your-program.hs
./your-program +RTS -p -RTS
profiteur your-program.prof
Open the output, your-program.prof.html, in a web browser.
See also example/Makefile.
A tree browser and a tree map are available to browse the profile.
Expand cost centres by clicking the chevrons in the tree browser or double-clicking them in the tree map.
