Module Unmark.Benchmarks.Run

module Run: sig .. end

Operations over runs.


val filter : ?q:Unmark.Benchmarks.query -> Unmark.Benchmarks.run -> Unmark.Benchmarks.run

filter ?q run is run with only the benchmarks that match q.

JSON

Runs can be converted to and from JSON text. This makes it easy to separate benchmark running and analysis.

val add_json : Stdlib.Buffer.t -> Unmark.Benchmarks.run -> unit

add_json buf run writes a JSON text representing run to buf.

val of_json : string -> (Unmark.Benchmarks.run * string, [ `Msg of string ]) Stdlib.result

of_json string is