-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjoinbench.cabal
More file actions
170 lines (139 loc) · 3.99 KB
/
joinbench.cabal
File metadata and controls
170 lines (139 loc) · 3.99 KB
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
cabal-version: 2.4
name: joinbench
version: 0.1.0.0
synopsis:
Benchmarking and expanding on the paper "Relational Algebra by way of Adjunctions"
-- A longer description of the package.
-- description:
homepage:
-- A URL where users can report bugs.
-- bug-reports:
license: NONE
author: Matteo Bongiovanni
maintainer: 40599507+MatBon01@users.noreply.github.com
-- A copyright notice.
-- copyright:
-- category:
extra-source-files:
CHANGELOG.md
README.md
library
exposed-modules:
Data.Bag,
Data.PointedSet,
Data.Key,
Database.Bag,
Database.IndexedTable,
Text.Parser.Customers,
Text.Parser.Invoices,
Text.Parser.JoinBenchTable
-- Modules included in this library but not exported.
other-modules:
Data.CMonoid
Text.Parser.Utils
-- LANGUAGE extensions used by modules in this package.
other-extensions:
InstanceSigs, TypeFamilies, FlexibleContexts,
FlexibleInstances, TupleSections
build-depends:
base >=4.16.4.0,
array >= 0.5.4.0,
parsec >= 0.3.1.15,
deepseq >= 1.4.6.1
hs-source-dirs: src
default-language: Haskell2010
executable appendix-example
main-is: AppendixExample.hs
build-depends:
base >=4.16.4.0,
joinbench
hs-source-dirs: app/examples
default-language: Haskell2010
common invoice-example
build-depends:
base >=4.16.4.0,
joinbench
default-language: Haskell2010
other-modules: Utils
executable invoice-new-comprehension
import: invoice-example
hs-source-dirs: app/examples/invoice
main-is: NewComprehensionExample.hs
executable invoice-comprehension
import: invoice-example
hs-source-dirs: app/examples/invoice
main-is: ComprehensionEquijoinExample.hs
executable invoice-product
import: invoice-example
hs-source-dirs: app/examples/invoice
main-is: ProductEquijoinExample.hs
executable invoice-indexed
import: invoice-example
hs-source-dirs: app/examples/invoice
main-is: IndexedEquijoinExample.hs
common joinbench-example
build-depends:
base >=4.16.4.0,
joinbench
default-language: Haskell2010
ghc-options:
-fprof-cafs
-fforce-recomp
-fprof-auto
"-with-rtsopts=-hy -p"
executable comprehension
import: joinbench-example
hs-source-dirs: app/examples/joinbench
main-is: ComprehensionEquijoinExample.hs
executable product
import: joinbench-example
hs-source-dirs: app/examples/joinbench
main-is: ProductEquijoinExample.hs
executable indexed
import: joinbench-example
hs-source-dirs: app/examples/joinbench
main-is: IndexedEquijoinExample.hs
common benchmark
build-depends:
base >=4.16.4.0,
joinbench,
criterion >= 1.6.2.0,
other-modules: BenchmarkUtils
other-extensions: ExplicitForAll
default-language: Haskell2010
executable invoice-benchmark
import: benchmark
main-is: InvoiceBenchmark.hs
hs-source-dirs: app
executable joinbench-benchmark
import: benchmark
main-is: JoinBenchBenchmark.hs
hs-source-dirs: app
executable whnf-joinbench-benchmark
import: benchmark
main-is: JoinBenchWHNFBenchmark.hs
hs-source-dirs: app
test-suite spec
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Data.BagSpec,
Data.CMonoidSpec,
Data.PointedSetSpec,
Data.KeySpec,
Database.BagSpec,
Database.IndexedTableSpec,
Text.Parser.CustomersSpec,
Text.Parser.InvoicesSpec,
Text.Parser.JoinBenchTableSpec,
Database.BagSpecData
build-depends:
base >=4.16.4.0,
hspec ^>=2.10,
joinbench,
array >= 0.5.4.0,
parsec >= 0.3.1.15,
deepseq >= 1.4.6.1
build-tool-depends: hspec-discover:hspec-discover == 2.*