ppx_bench
Syntax extension for writing in-line benchmarks in ocaml code
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library ppx_bench.runtime-lib
type test_spec =
| Regular_thunk : ( [ `init ] -> unit -> 'a ) -> test_spec |
| Parameterised_thunk : ( 'param, 'a ) parameterised_spec -> test_spec |
type t = private {
unique_id : int; |
code : string; |
type_conv_path : string; |
name : string; |
filename : string; |
line : int; |
startpos : int; |
endpos : int; |
test_spec : test_spec; |
bench_module_name : string option; |
}
val get_module_name_opt : t -> string option