raaz-0.3.0: Fast and type safe cryptography.
Safe HaskellNone
LanguageHaskell2010

Benchmark.Types

Synopsis

Documentation

toBenchmarkable :: (Int64 -> IO ()) -> Benchmarkable #

Construct a Benchmarkable value from an impure action, where the Int64 parameter indicates the number of times to run the action.

nBytes :: BYTES Int Source #

The total data processed in each benchmark.

nRuns :: Int64 Source #

How many times to run each benchmark

runRaazBench :: RaazBench -> IO Doc Source #

Execute a benchmark and writeout the results.