package ppx_bench

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a indexed_spec = {
  1. arg_name : string;
  2. arg_values : int list;
  3. thunk : int -> unit -> 'a;
}
type test_spec =
  1. | Regular_thunk : ([ `init ] -> unit -> 'a) -> test_spec
  2. | Indexed_thunk : 'a indexed_spec -> test_spec
type t = private {
  1. unique_id : int;
  2. code : string;
  3. type_conv_path : string;
  4. name : string;
  5. filename : string;
  6. line : int;
  7. startpos : int;
  8. endpos : int;
  9. test_spec : test_spec;
  10. bench_module_name : string option;
}
val compare : t -> t -> int
val get_indexed_arg_name : t -> string option
val get_module_name_opt : t -> string option