package core_bench

  1. Overview
  2. Docs

A module internal to Core_bench. Please look at Bench.

Contains the measurements of several runs of one benchmark.

type t
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val name : t -> string
val test_name : t -> string
val file_name : t -> string
val module_name : t -> string
val largest_run : t -> int
val sample_count : t -> int
val samples : t -> Measurement_sample.t array
val create : name:string -> test_name:string -> file_name:string -> module_name:string -> largest_run:int -> samples:Measurement_sample.t array -> t

samples should have length at least sample_count. Extra entries are dropped.

val save : t -> filename:string -> unit
val load : filename:string -> t
OCaml

Innovation. Community. Security.