Module Encodings_benchmarks.Encodings
val make_encode_fixed_size_to_string :
?check:(unit -> unit) ->
name:string ->
to_string:('a -> string) ->
generator:(Stdlib.Random.State.t -> 'a) ->
unit ->
(module Tezos_benchmark.Benchmark.Simple_with_num)
val make_encode_fixed_size_to_bytes :
?check:(unit -> unit) ->
name:string ->
to_bytes:('a -> bytes) ->
generator:(Stdlib.Random.State.t -> 'a) ->
unit ->
(module Tezos_benchmark.Benchmark.Simple_with_num)
val make_encode_variable_size_to_string :
?check:(unit -> unit) ->
name:string ->
to_string:('a -> string) ->
generator:
(Stdlib.Random.State.t ->
'a
* Tezos_shell_benchmarks__Encoding_benchmarks_helpers.Shared_linear.workload) ->
unit ->
(module Tezos_benchmark.Benchmark.Simple_with_num)
val make_decode_fixed_size_from_string :
?check:(unit -> unit) ->
name:string ->
to_string:('a -> string) ->
from_string:(string -> 'a) ->
generator:(Stdlib.Random.State.t -> 'a) ->
unit ->
(module Tezos_benchmark.Benchmark.Simple_with_num)
val make_decode_fixed_size_from_bytes :
?check:(unit -> unit) ->
name:string ->
to_bytes:('a -> bytes) ->
from_bytes:(bytes -> 'a) ->
generator:(Stdlib.Random.State.t -> 'a) ->
unit ->
(module Tezos_benchmark.Benchmark.Simple_with_num)
val make_decode_variable_size_from_string :
?check:(unit -> unit) ->
name:string ->
to_string:('a -> string) ->
from_string:(string -> 'a) ->
generator:
(Stdlib.Random.State.t ->
'a
* Tezos_shell_benchmarks__Encoding_benchmarks_helpers.Shared_linear.workload) ->
unit ->
(module Tezos_benchmark.Benchmark.Simple_with_num)
val make_decode_variable_size_from_bytes :
?check:(unit -> unit) ->
name:string ->
to_bytes:('a -> bytes) ->
from_bytes:(bytes -> 'a) ->
generator:
(Stdlib.Random.State.t ->
'a
* Tezos_shell_benchmarks__Encoding_benchmarks_helpers.Shared_linear.workload) ->
unit ->
(module Tezos_benchmark.Benchmark.Simple_with_num)