ghc-events-analyze: Analyze and visualize event logs

[ bsd3, development, profiling, program, trace ] [ Propose Tags ]

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.

Versions 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5 (info)
Change log ChangeLog
Dependencies base (>=4.8 && <4.12), blaze-svg (==0.3.*), bytestring (==0.10.*), 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.6), hashable (==1.2.*), lens (>=3.10 && <4.18), mtl (>=2.2.1 && <2.3), optparse-applicative (>=0.11 && <0.15), parsec (==3.1.*), regex-base (==0.93.*), regex-pcre-builtin (==0.94.*), SVGFonts (>=1.5 && <1.8), template-haskell, th-lift (>=0.6 && <0.8), transformers (>=0.3 && <0.6), unordered-containers (==0.2.*) [details]
License BSD-3-Clause
Copyright 2013-2014 Well-Typed LLP
Author Edsko de Vries, Duncan Coutts, Mikolaj Konarski
Maintainer edsko@well-typed.com
Category Development, Profiling, Trace
Source repo head: git clone https://github.com/edsko/ghc-events-analyze
Uploaded by EdskoDeVries at Thu Oct 18 10:44:06 UTC 2018
Distributions NixOS:0.2.5
Executables ghc-events-analyze
Downloads 1900 total (25 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-10-18 [all 2 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees