File: criterion-examples.cabal

package info (click to toggle)
haskell-criterion 1.6.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: haskell: 1,891; javascript: 811; makefile: 3
file content (138 lines) | stat: -rw-r--r-- 2,656 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
name:          criterion-examples
version:       0
synopsis:      Examples for the criterion benchmarking system
description:   Examples for the criterion benchmarking system.
homepage:      https://github.com/haskell/criterion
license:       BSD3
license-file:  LICENSE
author:        Bryan O'Sullivan <bos@serpentine.com>
maintainer:    Bryan O'Sullivan <bos@serpentine.com>
category:      Benchmarks
build-type:    Simple
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.4,
  GHC==8.10.7,
  GHC==9.0.2,
  GHC==9.2.7,
  GHC==9.4.5,
  GHC==9.6.1

flag conduit-vs-pipes
  default: True

flag maps
  default: True

executable fibber
  main-is: Fibber.hs

  default-language: Haskell2010
  ghc-options: -Wall -rtsopts
  build-depends:
    base == 4.*,
    criterion

executable conduit-vs-pipes
  if !flag(conduit-vs-pipes)
    buildable: False

  main-is: ConduitVsPipes.hs

  default-language: Haskell2010
  ghc-options: -Wall -rtsopts
  build-depends:
    base >= 4.8 && < 5,
    conduit >= 1.2.13.1,
    criterion,
    pipes >= 4.3.5,
    transformers

executable maps
  if !flag(maps)
    buildable: False

  main-is: Maps.hs

  default-language: Haskell2010
  ghc-options: -Wall -rtsopts
  build-depends:
    base == 4.*,
    bytestring,
    containers,
    criterion,
    deepseq,
    hashable,
    mwc-random >= 0.13.1,
    unordered-containers,
    vector,
    vector-algorithms

executable overhead
  main-is: Overhead.hs

  default-language: Haskell2010
  ghc-options: -Wall -rtsopts
  build-depends:
    base == 4.*,
    criterion,
    criterion-measurement

executable bad-read-file
  main-is: BadReadFile.hs

  default-language: Haskell2010
  ghc-options: -Wall -rtsopts
  build-depends:
    base == 4.*,
    criterion

executable good-read-file
  main-is: GoodReadFile.hs

  default-language: Haskell2010
  ghc-options: -Wall -rtsopts
  build-depends:
    base == 4.*,
    criterion

executable extensible-cli
  main-is: ExtensibleCLI.hs

  default-language: Haskell2010
  ghc-options: -Wall -rtsopts
  build-depends:
    base == 4.*,
    base-compat-batteries,
    criterion,
    optparse-applicative

executable quotes
  main-is: Quotes.hs

  default-language: Haskell2010
  ghc-options: -Wall -rtsopts
  build-depends:
    base == 4.*,
    criterion

-- Cannot uncomment due to https://github.com/haskell/cabal/issues/1725
--
-- executable judy
--   main-is: Judy.hs
--
--   buildable: False
--   default-language: Haskell2010
--   ghc-options: -Wall -rtsopts
--   build-depends:
--     base == 4.*,
--     criterion,
--     judy