A | |
add [Benchmark] | |
L | |
latency1 [Benchmark] | Benchmark.latency1 ?min_cpu ?style ?fwidth ?fdigits n ?name f x
runs the function f with input x for n iterations, and
returns the results, which are also printed unless ~style is
Nil .
|
latencyN [Benchmark] | Benchmark.latencyN ?min_cpu ?style ?fwidth ?fdigits n funs
runs each function in list funs for n iterations.
|
M | |
make [Benchmark] | |
merge [Benchmark] | merge l1 l2 merges the two association lists of timings l1
and l2 into a single one, concatenating the timings for the same
names of l1 and l2 .
|
S | |
sub [Benchmark] | |
T | |
tabulate [Benchmark] | Benchmark.tablulate results prints a comparison table for a
list of results obtained by Benchmark.latencyN or
Benchmark.throughputN with each function compared to all the
others.
|
throughput1 [Benchmark] | Benchmark.throughput1 ?min_count ?style ?fwidth ?fdigits t ?name f x
runs one function f with input x for at least t seconds, and
returns the result, which is also printed unless ~style is
Nil .
|
throughputN [Benchmark] | Benchmark.throughputN ?min_count ?style ?fwidth ?fdigits t
funs runs each function in list funs for at least t > 0
seconds.
|
to_string [Benchmark] | Benchmark.to_string ?style ?fwidth ?fdigits b converts the
Benchmark.t structure to a formatted string.
|