ghc-events-analyze: Analyze and visualize event logs
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:
While ThreadScope shows CPU activity across all your cores, ghc-events-analyze shows CPU activity across all your Haskell threads.
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.
Downloads
- ghc-events-analyze-0.2.8.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8 (info) |
---|---|
Change log | ChangeLog |
Dependencies | base (>=4.9 && <4.19), blaze-svg (>=0.3 && <0.4), bytestring (>=0.10 && <0.12), containers (>=0.5 && <0.7), diagrams-lib (>=1.3 && <1.5), diagrams-svg (>=1.1 && <1.5), filepath (>=1.3 && <1.5), ghc-events (>=0.13 && <0.20), hashable (>=1.2 && <1.5), lens (>=3.10 && <6.0), mtl (>=2.2.1 && <2.4), optparse-applicative (>=0.11 && <0.18), parsec (>=3.1 && <3.2), regex-base (>=0.93 && <0.95), regex-pcre-builtin (>=0.94 && <0.96), SVGFonts (>=1.7 && <1.8), template-haskell, text (<1.3 || >=2 && <2.1), th-lift (>=0.6 && <0.9), th-lift-instances (>=0.1 && <0.2), transformers (>=0.3 && <0.7), unordered-containers (>=0.2 && <0.3) [details] |
License | BSD-3-Clause |
Copyright | 2013-2014 Well-Typed LLP |
Author | Edsko de Vries, Duncan Coutts, Mikolaj Konarski |
Maintainer | edsko@well-typed.com |
Revised | Revision 1 made by EdskoDeVries at 2023-11-23T14:20:57Z |
Category | Development, Profiling, Trace |
Source repo | head: git clone https://github.com/edsko/ghc-events-analyze |
Uploaded | by EdskoDeVries at 2020-10-19T13:51:54Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | ghc-events-analyze |
Downloads | 5800 total (41 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2020-10-19 [all 2 reports] |