The prof2pretty package

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

prof2pretty is an enhanced rewrite of visual-prof that works with recent GHC RTS. sccpragmabomb adds SCC pragmas encoding source location. prof2pretty extracts those SCCs from the profiling output to annotate the sources using HTML + CSS + JavaScript.


cd example
ghc -prof -F -pgmF=sccpragmabomb test.hs
cd ..
./example/test +RTS -P -RTS 31416
prof2pretty --standalone --source=example/

Example output:


Dependencies base (==4.*), containers, filepath, haskell-src-exts, semigroups, uniplate, zenc [details]
License BSD3
Author Claude Heiland-Allen
Category Development, Profiling
Home page
Source repo head: git clone git://
this: git clone git:// v0.1.0.0)
Uploaded Sat Jun 30 13:17:15 UTC 2012 by ClaudeHeilandAllen
Distributions NixOS:
Executables sccpragmabomb, prof2pretty
Downloads 516 total (6 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-11-13 [all 8 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees