forked from IntersectMBO/plutus
/
plutus-benchmark.cabal
181 lines (171 loc) · 4.26 KB
/
plutus-benchmark.cabal
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
cabal-version: 2.2
name: plutus-benchmark
version: 0.1.0.0
license: Apache-2.0
license-files:
LICENSE
NOTICE
maintainer: radu.ometita@iohk.io
author: Radu Ometita
homepage: https://github.com/iohk/plutus#readme
bug-reports: https://github.com/iohk/plutus/issues
description:
Please see the README on GitHub at <https://github.com/input-output-hk/plutus#readme>
build-type: Simple
data-files:
templates/*.tpl
validation/data/crowdfunding/*.flat
validation/data/currency/*.flat
validation/data/escrow/*.flat
validation/data/future/*.flat
validation/data/game-sm/*.flat
validation/data/multisig-sm/*.flat
validation/data/ping-pong/*.flat
validation/data/prism/*.flat
validation/data/pubkey/*.flat
validation/data/stablecoin/*.flat
validation/data/token-account/*.flat
validation/data/uniswap/*.flat
validation/data/vesting/*.flat
validation/data/marlowe/trustfund/*.flat
validation/data/marlowe/zerocoupon/*.flat
source-repository head
type: git
location: https://github.com/iohk/plutus
common lang
default-language: Haskell2010
ghc-options:
-fno-strictness
-fno-specialise
-fno-spec-constr
-fno-ignore-interface-pragmas
-fno-omit-interface-pragmas
-fno-worker-wrapper
ghc-options:
-Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
-Wnoncanonical-monoid-instances
library
import: lang
exposed-modules:
Plutus.Benchmark.Clausify
Plutus.Benchmark.Queens
Plutus.Benchmark.Knights
Plutus.Benchmark.Knights.ChessSetList
Plutus.Benchmark.Knights.KnightHeuristic
Plutus.Benchmark.Knights.Queue
Plutus.Benchmark.Knights.Sort
Plutus.Benchmark.Knights.Utils
Plutus.Benchmark.LastPiece
Plutus.Benchmark.Prime
hs-source-dirs:
nofib/src
build-depends:
base >=4.7 && <5
, plutus-tx -any
, plutus-tx-plugin -any
, plutus-core -any
, deepseq -any
default-extensions:
DataKinds
NamedFieldPuns
OverloadedStrings
TemplateHaskell
TypeApplications
MultiParamTypeClasses
ScopedTypeVariables
executable nofib-exe
import: lang
main-is: Main.hs
hs-source-dirs:
nofib/exe
build-depends:
base >=4.7 && <5
, plutus-benchmark
, plutus-tx -any
, plutus-tx-plugin -any
, plutus-core -any
, ansi-wl-pprint -any
, bytestring -any
, containers -any
, flat -any
, optparse-applicative -any
, serialise -any
, transformers -any
benchmark nofib
import: lang
type: exitcode-stdio-1.0
main-is: BenchPlc.hs
hs-source-dirs:
nofib/bench
other-modules:
Common
Paths_plutus_benchmark
build-depends:
base >=4.7 && <5
, plutus-benchmark
, plutus-tx -any
, plutus-tx-plugin -any
, plutus-core -any
, containers -any
, criterion >= 1.5.9.0
, filepath -any
, mtl -any
benchmark nofib-hs
import: lang
type: exitcode-stdio-1.0
main-is: BenchHaskell.hs
hs-source-dirs:
nofib/bench
other-modules:
Common
Paths_plutus_benchmark
build-depends:
base >=4.7 && <5
, plutus-benchmark
, plutus-tx -any
, plutus-tx-plugin -any
, plutus-core -any
, containers -any
, criterion -any
, filepath -any
benchmark validation
import: lang
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs:
validation
other-modules:
Paths_plutus_benchmark
build-depends:
base >=4.7 && <5
, plutus-core -any
, bytestring -any
, containers -any
, criterion >= 1.5.9.0
, deepseq -any
, directory -any
, filepath -any
, flat -any
, optparse-applicative -any
, text -any
, transformers -any
test-suite plutus-benchmark-nofib-tests
import: lang
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: nofib/test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
build-depends:
base >=4.7 && <5
, plutus-benchmark -any
, plutus-tx -any
, plutus-tx-plugin -any
, plutus-core -any
, containers -any
, tasty -any
, tasty-hunit -any
, tasty-quickcheck -any
, mtl -any