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.

Usage:

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

Example output: http://mathr.co.uk/prof2pretty/prof2pretty-0.1.0.0.html

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Dependencies base (>=4 && <5), containers, filepath, haskell-src-exts, semigroups, uniplate, zenc [details]
License BSD-3-Clause
Author Claude Heiland-Allen
Maintainer claude@mathr.co.uk
Category Development, Profiling
Home page https://gitorious.org/prof2pretty
Source repo head: git clone git://gitorious.org/prof2pretty/prof2pretty.git
this: git clone git://gitorious.org/prof2pretty/prof2pretty.git(tag v0.1.0.0)
Uploaded by ClaudeHeilandAllen at 2012-06-30T13:17:15Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables sccpragmabomb, prof2pretty
Downloads 1227 total (5 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]