prof2pretty: generate pretty source from time/allocation profiles

[ 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:


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Dependencies base (>=4 && <5), containers, filepath, haskell-src-exts, semigroups, uniplate, zenc [details]
License BSD-3-Clause
Author Claude Heiland-Allen
Category Development, Profiling
Home page
Source repo head: git clone git://
this: git clone git:// v0.1.0.0)
Uploaded by ClaudeHeilandAllen at 2012-06-30T13:17:15Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables sccpragmabomb, prof2pretty
Downloads 1230 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-11-13 [all 8 reports]