File tree 1 file changed +6
-0
lines changed
containers-tests/benchmarks
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ main = do
45
45
, bench " alterF:four:strings" $ whnf (alterF_four strings) strings_s
46
46
, bench " alterF_naive:four" $ whnf (alterF_naive_four elems) s
47
47
, bench " alterF_naive:four:strings" $ whnf (alterF_naive_four strings) strings_s
48
+ , bench " powerSet (19)" $ whnf S. powerSet (S. fromList[1 .. 19 ])
49
+ , bench " powerSet (20)" $ whnf S. powerSet (S. fromList[1 .. 20 ])
50
+ , bench " powerSet (21)" $ whnf S. powerSet (S. fromList[1 .. 21 ])
51
+ , bench " member.powerSet (16)" $ whnf (\ s -> all (flip S. member s) s) (S. powerSet (S. fromList [1 .. 16 ]))
52
+ , bench " member.powerSet (17)" $ whnf (\ s -> all (flip S. member s) s) (S. powerSet (S. fromList [1 .. 17 ]))
53
+ , bench " member.powerSet (18)" $ whnf (\ s -> all (flip S. member s) s) (S. powerSet (S. fromList [1 .. 18 ]))
48
54
]
49
55
where
50
56
elems = [1 .. 2 ^ 12 ]
You can’t perform that action at this time.
0 commit comments