Benchmark.SThe module type of benchmarks
include Benchmark_baseval name : Namespace.tName of the benchmark
val purpose : purposeDescribed the purpose of the benchmark. * Generate_code of destination: generates code at the given destination file. * Other_purpose of purpose: any other purpose. The goal is to explain why the function is benchmarked since it does not produce a cost function.
val default_config : configDefault configuration of the benchmark
val config_encoding : config Mavryk_base.TzPervasives.Data_encoding.tConfiguration encoding
val workload_encoding : workload Mavryk_base.TzPervasives.Data_encoding.tWorkload encoding
val workload_to_vector : workload -> Sparse_vec.String.tOptional conversion to vector, for report generation purposes
Cost models, with a given local name (string) for reference
val create_benchmarks :
rng_state:Stdlib.Random.State.t ->
bench_num:int ->
config ->
(unit -> workload Generator.benchmark) listBenchmark generator