Skip to content

Commit 8bcbf8a

Browse files
committed
Start a new benchmark suite "fine-grained"
1 parent 1029038 commit 8bcbf8a

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

benchmarks/FineGrained.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module Main where
2+
3+
import Test.Tasty.Bench
4+
5+
main :: IO ()
6+
main = defaultMain []

unordered-containers.cabal

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ test-suite unordered-containers-tests
111111
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
112112
cpp-options: -DASSERTS
113113

114-
benchmark benchmarks
114+
benchmark package-comparisons
115115
hs-source-dirs: benchmarks
116116
main-is: Benchmarks.hs
117117
type: exitcode-stdio-1.0
@@ -136,6 +136,22 @@ benchmark benchmarks
136136
ghc-options: -Wall -O2 -rtsopts "-with-rtsopts=-A32m" -fproc-alignment=64
137137
-- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map
138138

139+
benchmark fine-grained
140+
hs-source-dirs: benchmarks
141+
main-is: FineGrained.hs
142+
type: exitcode-stdio-1.0
143+
144+
other-modules:
145+
146+
build-depends:
147+
base,
148+
hashable,
149+
tasty-bench,
150+
unordered-containers
151+
152+
default-language: Haskell2010
153+
ghc-options: -Wall -O2 -rtsopts "-with-rtsopts=-A512m" -fproc-alignment=64
154+
139155
source-repository head
140156
type: git
141157
location: https://github.com/haskell-unordered-containers/unordered-containers.git

0 commit comments

Comments
 (0)