package tezos-benchmark
A simplification of S
below, when only one model is defined.
include Benchmark_base
val name : Namespace.t
Name of the benchmark
val purpose : purpose
Described 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 : config
Default configuration of the benchmark
val config_encoding : config Tezos_base.TzPervasives.Data_encoding.t
Configuration encoding
val workload_encoding : workload Tezos_base.TzPervasives.Data_encoding.t
Workload encoding
val workload_to_vector : workload -> Sparse_vec.String.t
Optional conversion to vector, for report generation purposes
val group : group
Inference group of the benchmark
val create_benchmarks :
rng_state:Random.State.t ->
bench_num:int ->
config ->
(unit -> workload Generator.benchmark) Tezos_base.TzPervasives.trace
Benchmark generator
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>