The prof2pretty package
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
Properties
| Version | 0.1.0.0 |
|---|---|
| Dependencies | base (4.*), containers, filepath, haskell-src-exts, semigroups, uniplate, zenc |
| License | BSD3 |
| Author | Claude Heiland-Allen |
| Maintainer | claude@mathr.co.uk |
| Category | Development, Profiling |
| Home page | https://gitorious.org/prof2pretty |
| Source repository | git clone git://gitorious.org/prof2pretty/prof2pretty.git |
| Executables | sccpragmabomb, prof2pretty |
| Upload date | Sat Jun 30 13:17:15 UTC 2012 |
| Uploaded by | ClaudeHeilandAllen |
Downloads
- prof2pretty-0.1.0.0.tar.gz (Cabal source package)
- package description (included in the package)