Skip to content

Commit 32549b2

Browse files
committed
Build standalone benchmarks
1 parent 61257d3 commit 32549b2

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.hgignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
^dist$
2-
^benchmarks/bench$
2+
^benchmarks/(?:dist|bench)$
33
^tests/(?:Map|Set)Properties$
44
\.(?:aux|eventlog|h[ip]|log|[oa]|orig|prof|ps|rej|swp)$
55
~$
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: unordered-containers-benchmarks
2+
version: 0
3+
build-type: Simple
4+
5+
cabal-version: >=1.2
6+
7+
executable unordered-containers-benchmarks
8+
ghc-options: -Wall -O2
9+
cc-options: -msse4.1
10+
c-sources:
11+
../cbits/popc.c
12+
hs-source-dirs: .. .
13+
main-is: Benchmarks.hs
14+
other-modules:
15+
Data.HashMap.Array
16+
Data.HashMap.Base
17+
Data.HashMap.Lazy
18+
Data.HashMap.PopCount
19+
Data.HashMap.Strict
20+
Data.HashMap.Unsafe
21+
Data.HashMap.UnsafeShift
22+
Data.HashSet
23+
build-depends:
24+
base,
25+
bytestring,
26+
containers,
27+
criterion,
28+
deepseq,
29+
ghc-prim,
30+
hashable,
31+
mtl,
32+
random

0 commit comments

Comments
 (0)