Test.t
are benchmarked by calls to bench.
Variable.t
s represent variables than can be used as predictors or the responder
when specifying a regression.
Run_config.t
specifies how a benchmark should be run.
Display_config.t
specifies how the output tables should be formatted.
Analysis_config.t
specifies a regression run by Core_bench
.
Measurement.t
represents the result of measuring execution of a Test.t
.
make_command tests
is the easiest way to generate a command-line program that runs a
list of benchmarks. Here tests : Test.t list
are the benchmarks that should be run.
This returns a Command.t
which provides a command-line interface for running the
benchmarks. See notes above for an example.
bench tests
will run, analyze and display the specified tests
. Use this when one
needs more control over the execution parameters that what is exposed through
make_command
. bench
can also save the measurements of each test to the filename
returned by save_to_file
.
measure
is a fragment of the functionality of bench
. measure tests
will run
the specified tests
and return the resulting measurement results.
analyze
is a fragment of the functionality of bench
. analyze ~analysis_configs m
will analyze the measurement m
using the regressions specified.
display
is a fragment of the functionality of bench
. display results
will
display a tabular summary of results
on the terminal.
make_command_ext
is useful for creating Command.t
s that have command line flags in
addition to those provided by make_command
.