package octez-l2-libs

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

Module Octez_smart_rollup_wasm_benchmark_lib.MeasureSource

Sourcetype time
Sourceval time : (unit -> 'a Lwt.t) -> (time * 'a) Lwt.t

time f computes f () returns the time taken to compute and the result

Sourceval time_and_tick : ('a -> Z.t Lwt.t) -> ('a -> 'a Lwt.t) -> 'a -> (time * Z.t * 'a) Lwt.t

time_and_tick get_tick f a computes f a and returns the time taken, the number of ticks and the result

Sourceval zero : time
Sourceval to_seconds : time -> float
OCaml

Innovation. Community. Security.