Core_bench_jsmodule Quota = Core_bench_internals.Quotamodule Test = Core_bench_internals.Testmodule Run_config = Core_bench_internals.Run_configmodule Display_column = Core_bench_internals.Display_columnmodule Display_config = Core_bench_internals.Display_configmodule Variable = Core_bench_internals.Variablemodule Measurement = Core_bench_internals.Measurementmodule Analysis_config = Core_bench_internals.Analysis_configmodule Analysis_result = Core_bench_internals.Analysis_resultval bench :
?run_config:Run_config.t ->
?analysis_configs:Analysis_config.t list ->
?display_config:Display_config.t ->
?save_to_file:(Measurement.t -> string) ->
?libname:string ->
Test.t list ->
unitbench 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.
val measure : ?run_config:Run_config.t -> Test.t list -> Measurement.t listmeasure is a fragment of the functionality of bench. measure tests will run the specified tests and return the resulting measurement results.
val analyze :
?analysis_configs:Analysis_config.t list ->
Measurement.t ->
Analysis_result.t Core.Or_error.tanalyze is a fragment of the functionality of bench. analyze ~analysis_configs m will analyze the measurement m using the regressions specified.
val display :
?libname:string ->
?display_config:Display_config.t ->
Analysis_result.t list ->
unitdisplay is a fragment of the functionality of bench. display results will display a tabular summary of results on the terminal.
val analyze_and_display :
measurements:Measurement.t list ->
?analysis_configs:Analysis_config.t list ->
?display_config:Display_config.t ->
?libname:string ->
unit ->
unitanalyze_and_display is a fragment of the functionality of bench. display results will display a tabular summary of results on the terminal.