Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
_cabal_deps/ | H | 03-May-2022 | - | 98,309 | 64,200 | |
data/ | H | 28-May-2021 | - | 111 | 91 | |
src/ | H | 28-May-2021 | - | 376 | 283 | |
CHANGELOG.md | H A D | 28-May-2021 | 2.1 KiB | 89 | 65 | |
LICENSE | H A D | 28-May-2021 | 1.5 KiB | 31 | 24 | |
README.md | H A D | 28-May-2021 | 575 | 28 | 17 | |
Setup.hs | H A D | 28-May-2021 | 46 | 3 | 2 | |
cabal.project | H A D | 03-May-2022 | 747 | 21 | 20 | |
profiteur.cabal | H A D | 28-May-2021 | 2 KiB | 76 | 67 |
README.md
1profiteur 2========= 3 4Profiteur is a visualiser for GHC `.prof` files. 5 6Installation 7------------ 8 9 cabal install profiteur 10 11Usage 12----- 13 14 ghc --make -auto-all -prof your-program.hs 15 ./your-program +RTS -p -RTS 16 profiteur your-program.prof 17 18Open the output, `your-program.prof.html`, in a web browser. 19 20See also [example/Makefile](example/Makefile). 21 22A tree browser and a tree map are available to browse the profile. 23 24Expand cost centres by clicking the chevrons in the tree browser or 25double-clicking them in the tree map. 26 27![Screenshot](example/screenshot.png) 28