packages feed

ghc-events-analyze-0.2.5: ghc-events-analyze.cabal

name:                ghc-events-analyze
version:             0.2.5
synopsis:            Analyze and visualize event logs
description:         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
                     <http://www.well-typed.com/blog/2014/02/ghc-events-analyze/ Performance profiling with ghc-events-analyze>
                     describes the motivation in more detail.
license:             BSD3
license-file:        LICENSE
author:              Edsko de Vries, Duncan Coutts, Mikolaj Konarski
maintainer:          edsko@well-typed.com
copyright:           2013-2014 Well-Typed LLP
category:            Development, Profiling, Trace
build-type:          Simple
extra-source-files:  ChangeLog
cabal-version:       >=1.10

source-repository head
  type: git
  location: https://github.com/edsko/ghc-events-analyze

executable ghc-events-analyze
  main-is:             GHC/RTS/Events/Analyze.hs
  other-modules:       GHC.RTS.Events.Analyze.Analysis
                       GHC.RTS.Events.Analyze.Options
                       GHC.RTS.Events.Analyze.StrictState
                       GHC.RTS.Events.Analyze.Utils
                       GHC.RTS.Events.Analyze.Types
                       GHC.RTS.Events.Analyze.Script
                       GHC.RTS.Events.Analyze.Script.Standard
                       GHC.RTS.Events.Analyze.Reports.Totals
                       GHC.RTS.Events.Analyze.Reports.Timed
                       GHC.RTS.Events.Analyze.Reports.Timed.SVG

  build-depends:       base                 >= 4.8   && < 4.12,
                       blaze-svg            >= 0.3   && < 0.4,
                       bytestring           >= 0.10  && < 0.11,
                       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   && < 1.3,
                       lens                 >= 3.10  && < 4.18,
                       mtl                  >= 2.2.1 && < 2.3,
                       optparse-applicative >= 0.11  && < 0.15,
                       parsec               >= 3.1   && < 3.2,
                       regex-base           >= 0.93  && < 0.94,
                       regex-pcre-builtin   >= 0.94  && < 0.95,
                       SVGFonts             >= 1.5   && < 1.8,
                       th-lift              >= 0.6   && < 0.8,
                       transformers         >= 0.3   && < 0.6,
                       unordered-containers >= 0.2   && < 0.3,
                       -- No version: whatever is bundled with ghc
                       template-haskell

  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall -rtsopts

  default-extensions:  NamedFieldPuns
                       RecordWildCards
                       NoMonomorphismRestriction
                       ScopedTypeVariables
                       ViewPatterns
                       BangPatterns
                       RankNTypes
                       MultiParamTypeClasses
  other-extensions:    CPP
                       TemplateHaskell
                       QuasiQuotes