packages feed

criterion-measurement-0.1.2.0: criterion-measurement.cabal

name:                criterion-measurement
version:             0.1.2.0
synopsis:            Criterion measurement functionality and associated types
description:         Measurement-related functionality extracted from Criterion, with minimal dependencies. The rationale for this is to enable alternative analysis front-ends.
homepage:            https://github.com/bos/criterion
license:             BSD3
license-file:        LICENSE
author:              Bryan O'Sullivan <bos@serpentine.com>
maintainer:          Marco Zocca <zocca.marco gmail>, Ryan Scott <ryan.gl.scott@gmail.com>
copyright:           2009-2016 Bryan O'Sullivan and others
category:            Development, Performance, Testing, Benchmarking
build-type:          Simple
extra-source-files:  README.md, changelog.md
cabal-version:       >=1.10
tested-with:
  GHC==7.4.2,
  GHC==7.6.3,
  GHC==7.8.4,
  GHC==7.10.3,
  GHC==8.0.2,
  GHC==8.2.2,
  GHC==8.4.4,
  GHC==8.6.5,
  GHC==8.8.1

flag fast
  description: compile without optimizations
  default: False
  manual: True

library
  hs-source-dirs:      src
  exposed-modules:     Criterion.Measurement
                       Criterion.Measurement.Types
                       Criterion.Measurement.Types.Internal
  build-depends:       aeson >= 0.8
                     , base >= 4.5 && < 5
                     , base-compat >= 0.9
                     , binary >= 0.5.1.0
                     , containers
                     , deepseq >= 1.1.0.0
                     , vector >= 0.7.1
  if impl(ghc < 7.6)
    build-depends:
      ghc-prim

  default-language: Haskell2010
  ghc-options: -Wall -funbox-strict-fields
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs
  if flag(fast)
    ghc-options: -O0
  else
    ghc-options: -O2


  c-sources: cbits/cycles.c
  if os(darwin)
    c-sources: cbits/time-osx.c
  else {
    if os(windows)
      c-sources: cbits/time-windows.c
    else
      c-sources: cbits/time-posix.c
  }


source-repository head
  type:     git
  location: https://github.com/bos/criterion
  subdir:   criterion-measurement