mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-23 02:35:33 +03:00
Fix the benchmarks declaration evaluation issues
This commit is contained in:
parent
f0b6708542
commit
9d7bfadb27
@ -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
|
||||
]
|
||||
]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user