profiteur: Treemap visualiser for GHC prof files

[ bsd3, development, profiling, program ] [ Propose Tags ]

Treemap visualiser for GHC prof files

[Skip to Readme]


Manual Flags


Embed data files into the executable (needed for ghcjs packaging)


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,,,,,,,,,,,,,,
Change log
Dependencies aeson (>=0.6 && <2.2), base (>=4.8 && <5), bytestring (>=0.9 && <0.12), containers (>=0.5 && <0.7), filepath (>=1.3 && <1.5), ghc-prof (>=1.3 && <1.5), js-jquery (>=3.1 && <3.4), scientific (>=0.3 && <0.4), text (>=0.11 && <2.1), unordered-containers (>=0.2 && <0.3), vector (>=0.10 && <0.13) [details]
License BSD-3-Clause
Copyright 2014 Jasper Van der Jeugt
Author Jasper Van der Jeugt <>
Maintainer Jasper Van der Jeugt <>
Revised Revision 1 made by JasperVanDerJeugt at 2023-04-11T11:24:14Z
Category Development, Profiling
Home page
Source repo head: git clone git://
Uploaded by JasperVanDerJeugt at 2022-06-28T10:37:35Z
Distributions LTSHaskell:, NixOS:
Reverse Dependencies 1 direct, 0 indirect [details]
Executables profiteur
Downloads 16058 total (71 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2022-06-28 [all 1 reports]

Readme for profiteur-

[back to package description]


Profiteur is a visualiser for GHC .prof files.


cabal install profiteur


ghc --make -auto-all -prof your-program.hs
./your-program +RTS -p -RTS

Open the output,, 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.