File tree 2 files changed +23
-0
lines changed
2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ module Main where
2
+
3
+ import qualified Data.Map as M
4
+ import qualified Data.Set as S
5
+ import SetOperations
6
+ import Utils.Containers.Internal.StrictPair
7
+
8
+ main =
9
+ benchmark'
10
+ (\ xs -> M. fromList [(x, x) | x <- xs])
11
+ S. fromList
12
+ True
13
+ [ (" partitionKeys" , M. partitionKeys)
14
+ ]
Original file line number Diff line number Diff line change @@ -227,6 +227,15 @@ benchmark set-operations-set
227
227
other-modules : SetOperations
228
228
ghc-options : -O2
229
229
230
+ benchmark partition-keys-mapset
231
+ import : benchmark-deps
232
+ default-language : Haskell2010
233
+ type : exitcode-stdio-1.0
234
+ hs-source-dirs : benchmarks/SetOperations
235
+ main-is : PartitionKeys-MapSet.hs
236
+ other-modules : SetOperations
237
+ ghc-options : -O2
238
+
230
239
benchmark lookupge-intmap
231
240
import : benchmark-deps
232
241
default-language : Haskell2010
You can’t perform that action at this time.
0 commit comments