The ghc-events-analyze package
ghc-events-analyze is a simple Haskell profiling tool that uses GHC's eventlog system. It helps with some profiling use cases that are not covered by the existing GHC profiling modes or tools. It has two major features:
1. While ThreadScope shows CPU activity across all your cores, ghc-events-analyze shows CPU activity across all your Haskell threads.
2. It lets you label periods of time during program execution (by instrumenting your code with special trace calls) and then lets you visualize those time periods or get statistics on them.
It is very useful for profiling code when ghc's normal profiling mode is not available, or when using profiling mode would perturb the code too much. It is also useful when you want time-profiling information with a breakdown over time rather than totals for the whole run.
The blog post Performance profiling with ghc-events-analyze describes the motivation in more detail.
|Dependencies||base (>=4.5 && <4.8), containers (==0.5.*), diagrams-lib (==1.2.*), diagrams-svg (>=1.1 && <1.3), filepath (==1.3.*), ghc-events (==0.4.*), lens (>=3.10 && <4.5), mtl (>=2.2.1 && <2.3), optparse-applicative (==0.11.*), parsec (==3.1.*), SVGFonts (==1.4.*), template-haskell, th-lift (==0.6.*), transformers (>=0.3 && <0.5)|
|Copyright||2013-2014 Well-Typed LLP|
|Author||Edsko de Vries, Duncan Coutts, Mikolaj Konarski|
|Category||Development, Profiling, Trace|
|Source repository||head: git clone https://github.com/edsko/ghc-events-analyze|
|Uploaded||Sat Dec 6 14:51:24 UTC 2014 by EdskoDeVries|
|Downloads||328 total (44 in last 30 days)|
Build status unknown [no reports yet]
- ghc-events-analyze-0.2.1.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees