joshbohde/hdr-histogram

View on GitHub
hdr-histogram.cabal

Summary

Maintainability
Test Coverage
name:                hdr-histogram
version:             0.1.0.0
synopsis:            Haskell implementation of High Dynamic Range (HDR) Histograms
description:         Please see README.md
homepage:            http://github.com/joshbohde/hdr-histogram#readme
bug-reports:         http://github.com/joshbohde/hdr-histogram/issues
license:             GPL-3
license-file:        LICENSE
author:              Josh Bohde <josh@joshbohde.com>
maintainer:          Josh Bohde <josh@joshbohde.com>
copyright:           2015 Josh Bohde
category:            Math, Statistics
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Data.HdrHistogram
                       Data.HdrHistogram.Config
                       Data.HdrHistogram.Config.Internal
                       Data.HdrHistogram.Mutable
                       Data.HdrHistogram.Tutorial
  build-depends:       base >= 4.7 && < 5
                     , vector >= 0.10 && < 0.12
                     , primitive >= 0.6 && < 0.7
                     , deepseq >= 1.4 && < 1.5
                     , tagged >= 0.8 && < 0.9
                     , QuickCheck
  default-language:    Haskell2010
  ghc-options:         -Wall -O2

test-suite hdr-histogram-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:
                       Data.HdrHistogramSpec
                       Data.HdrHistogram.ConfigSpec
                       Data.HdrHistogram.MutableSpec
                       Test.Expectations
                       Test.Utils
  build-depends:       base
                     , hdr-histogram
                     , hspec
                     , QuickCheck
                     , random
                     , tagged
                     , vector
                     , vector-algorithms
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010


benchmark hdr-histogram-bench
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Bench.hs
  other-modules:
                       Data.HdrHistogram.MutableBench
  build-depends:       base
                     , hdr-histogram
                     , deepseq
                     , criterion
                     , primitive
  ghc-options:         -Wall
                       -O2
                       -fmax-simplifier-iterations=10
                       -fdicts-cheap
                       -fspec-constr-count=6
                       -threaded
                       -rtsopts
                       -with-rtsopts=-T
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/joshbohde/hdr-histogram