ContentsIndex
Database.Test.Performance
Portabilitynon-portable
Stabilityexperimental
Maintaineroleg@pobox.com, alistair@abayley.org
Description
Performance tests. Currently just tests large result sets.
Synopsis
data ShouldRunTests
= RunTests
| Don'tRunTests
rowCounter :: Monad m => Int -> Int -> IterAct m Int
sqlRows2Power17 :: String
sqlRows2Power20 :: String
Documentation
data ShouldRunTests
Constructors
RunTests
Don'tRunTests
show/hide Instances
rowCounter :: Monad m => Int -> Int -> IterAct m Int
This counter takes the maximum number of rows to fetch as its first argument, so don't forget to curry it when using it as an iteratee function. We also try to ensure that it is strict in the counter; we don't want thousands or millions of unevaluated + thunks sitting on the stack.
sqlRows2Power17 :: String
sqlRows2Power20 :: String
Produced by Haddock version 0.7