About

Metadata

  • Last updated , by JasperVanDerJeugt
  • License BSD-3-Clause
  • Categories Development, Profiling
  • Maintained by: Jasper Van der Jeugt <m@jaspervdj.be>

  • Lottery factor: 1

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    embed-data-files (off by default)

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

Readme

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