package tezos-benchmark

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tezos_benchmark.MeasureSource

Sourcetype options = {
  1. seed : int;
  2. nsamples : int;
  3. bench_number : int;
  4. minor_heap_size : [ `words of int ];
  5. config_file : string option;
}
Sourceval pp_options : Format.formatter -> options -> unit
Sourcetype 'workload measured_workload = {
  1. workload : 'workload;
    (*

    Workload associated to the measurement

    *)
  2. measures : Maths.vector;
    (*

    Collected measurements

    *)
}
Sourcetype 'workload workload_data = 'workload measured_workload list
Sourcetype 'workload measurement = {
  1. bench_opts : options;
  2. workload_data : 'workload workload_data;
  3. date : Unix.tm;
}
Sourcetype packed_measurement =
  1. | Measurement : ('a, 't) Benchmark.poly * 't measurement -> packed_measurement
Sourcetype workloads_stats = {
  1. max : float;
  2. min : float;
  3. mean : float;
  4. variance : float;
}
Sourceval save : filename:string -> options:options -> bench:('c, 't) Benchmark.poly -> workload_data:'t workload_data -> packed_measurement
Sourceval packed_measurement_save_json : packed_measurement -> string option -> unit
Sourceval load : filename:string -> packed_measurement
Sourceval to_csv : filename:string -> bench:('c, 't) Benchmark.poly -> workload_data:'t workload_data -> unit
Sourceval perform_benchmark : options -> ('c, 't) Benchmark.poly -> 't workload_data
Sourceval make_timing_probe : (module Tezos_base.TzPervasives.Compare.COMPARABLE with type t = 't) -> 't Generator.probe
Sourceval get_free_variable_set : packed_measurement -> Free_variable.Set.t
Sourcemodule Time : sig ... end

All return nano seconds

OCaml

Innovation. Community. Security.