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:

Versions [RSS] [faq]
Dependencies base (==4.*), 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
Distributions NixOS:
Executables sccpragmabomb, prof2pretty
Downloads 1030 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2015-11-13 [all 8 reports]


Maintainer's Corner

For package maintainers and hackage trustees