profiteur: Treemap visualiser for GHC 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.

[maintain] [Publish]

profiteur consumes a GHC profile, which is the result of running your executable with profiling enabled. It turns this into an HTML file containing an interactive Treemap-based visualisation.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.3.0.3, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.2.1, 0.4.2.2, 0.4.3.0, 0.4.4.0, 0.4.5.0, 0.4.5.1, 0.4.6.0, 0.4.6.1, 0.4.7.0, 0.4.7.1, 0.4.7.1
Change log CHANGELOG.md
Dependencies aeson (>=0.6 && <2.3), base (>=4.8 && <5), bytestring (>=0.9 && <0.13), containers (>=0.5 && <0.7), filepath (>=1.4 && <1.5), ghc-prof (>=1.3 && <1.5), js-jquery (>=3.1 && <3.8), profiteur, scientific (>=0.3 && <0.4), text (>=0.11 && <2.2), unordered-containers (>=0.2 && <0.3), vector (>=0.10 && <0.14) [details]
License BSD-3-Clause
Copyright 2014 Jasper Van der Jeugt
Author Jasper Van der Jeugt <m@jaspervdj.be>
Maintainer Jasper Van der Jeugt <m@jaspervdj.be>
Category Development, Profiling
Home page http://github.com/jaspervdj/profiteur
Source repo head: https://github.com/jaspervdj/profiteur.git, repo type https
Uploaded by JasperVanDerJeugt at 2026-01-20T11:47:16Z

Modules

[Index] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
embed-data-files

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

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for profiteur-0.4.7.1

[back to package description]

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.

Screenshot