Fix the benchmarks declaration evaluation issues

This commit is contained in:
Nikita Volkov 2015-11-21 10:16:21 +03:00
parent f0b6708542
commit 9d7bfadb27

View File

@ -26,20 +26,20 @@ main =
[
bgroup "1 column"
[
bench "1 row" $ nfIO $ query () (Q.select1 1)
bench "1 row" $ nfIO $! query () $! Q.select1 1
,
bench "100 rows" $ nfIO $ query () (Q.select1 100)
bench "100 rows" $ nfIO $! query () $! Q.select1 100
,
bench "10000 rows" $ nfIO $ query () (Q.select1 10000)
bench "10000 rows" $ nfIO $! query () $! Q.select1 10000
]
,
bgroup "4 columns"
[
bench "1 row" $ nfIO $ query () (Q.select4 1)
bench "1 row" $ nfIO $! query () $! Q.select4 1
,
bench "100 rows" $ nfIO $ query () (Q.select4 100)
bench "100 rows" $ nfIO $! query () $! Q.select4 100
,
bench "10000 rows" $ nfIO $ query () (Q.select4 10000)
bench "10000 rows" $ nfIO $! query () $! Q.select4 10000
]
]
]