definition: |
prepareBenchmarkCleanup :: IO () -> IO a -> IO () -> Benchmark a prepareBenchmarkCleanup pre bench post = benchmark $ execBench (BM pre post bench) |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
A benchmark with some preparation and some final cleanup. In this case, the preparation and cleanup work tightly belongs to the benchmark, i.e., it is repeated with every iteration of the benchmark. |
failfree: |
(_, _, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_,_) |-> _} |
name: |
prepareBenchmarkCleanup |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Prelude.IO () -> Prelude.IO a -> Prelude.IO () -> Benchmark a |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
reducible on all ground data terms |