@hackage prof2pretty0.1.0.0
generate pretty source from time/allocation profiles
Categories
License
BSD-3-Clause
Maintainer
claude@mathr.co.uk
Links
Versions
- 0.1.0.0 Sat, 30 Jun 2012
Installation
Dependencies (0)
- base >=4 && <5
- containers
- filepath
- semigroups
- zenc Show all…
Dependents (1)
@hackage/acme-everything
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