package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type config = {
  1. existing_context : string * Tezos_base.TzPervasives.Context_hash.t;
  2. storage_chunk_bytes : int;
  3. storage_chunks : Tezos_benchmark.Base_samplers.range;
  4. max_written_keys : int;
  5. temp_dir : string option;
  6. subdirectory : string;
}
include Tezos_benchmark.Benchmark.Simple_with_num with type config := config
include Tezos_benchmark.Benchmark.Benchmark_base with type config := config

Name of the benchmark

val info : string

Description of the benchmark

val module_filename : string

File where the benchmark module is defined

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 tags : string list

Tags of the benchmark

val default_config : config

Default configuration of the benchmark

Configuration encoding

type workload

Benchmark workload

Workload encoding

val workload_to_vector : workload -> Tezos_benchmark.Sparse_vec.String.t

Optional conversion to vector, for report generation purposes

Inference group of the benchmark

Model used for inference

val create_benchmarks : rng_state:Stdlib.Random.State.t -> bench_num:int -> config -> (unit -> workload Tezos_benchmark.Generator.benchmark) Tezos_base.TzPervasives.trace

Benchmark generator

OCaml

Innovation. Community. Security.