Skip to content

Commit 6d61346

Browse files
committed
for #896
1 parent d516927 commit 6d61346

File tree

1 file changed

+2
-0
lines changed
  • containers-tests/benchmarks

1 file changed

+2
-0
lines changed

containers-tests/benchmarks/Set.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ main = do
4545
, bench "alterF:four:strings" $ whnf (alterF_four strings) strings_s
4646
, bench "alterF_naive:four" $ whnf (alterF_naive_four elems) s
4747
, bench "alterF_naive:four:strings" $ whnf (alterF_naive_four strings) strings_s
48+
, bench "powerSet" $ whnf S.powerSet (S.fromList[1..20])
49+
, bench "member.powerSet" $ whnf (\ s -> all (flip S.member s) s) (S.powerSet (S.fromList [1..20]))
4850
]
4951
where
5052
elems = [1..2^12]

0 commit comments

Comments
 (0)