definition: |
diffBench :: (a -> a -> a) -> Benchmark a -> Benchmark a -> Benchmark a diffBench minus bench1 bench2 = mapBench (uncurry minus) (pairBench bench1 bench2) |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
Computes the difference between two benchmarks according to a given difference operation (first argument). This could be useful to evaluate some kernel of a computation where the ressources to prepare the benchmark data are measured by a separate benchmark and subtracted with this operation. |
failfree: |
(_, _, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_,_) |-> _} |
name: |
diffBench |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
(a -> a -> a) -> Benchmark a -> Benchmark a -> Benchmark a |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
reducible on all ground data terms |