Mavryk_benchmarks_proto_alpha.Translator_benchmarks
module Encodings : sig ... end
val group : Mavryk_benchmark.Benchmark.group
module Size = Mavryk_protocol_alpha.Protocol.Gas_input_size
val ns : Mavryk_benchmark.Namespace.cons
val fv : string -> Mavryk_benchmark.Free_variable.t
Script_ir_translator
benchmarksmodule Config : sig ... end
module Default_boilerplate : sig ... end
type error_kind =
| Global_error of {
benchmark_name : Mavryk_benchmark.Namespace.t;
workload : Mavryk_base.TzPervasives.tztrace;
}
| Bad_data of {
benchmark_name : Mavryk_benchmark.Namespace.t;
micheline : Mavryk_protocol_alpha.Protocol.Alpha_context.Script.expr;
expected_type : Mavryk_protocol_alpha.Protocol.Alpha_context.Script.expr;
phase : phase;
}
| Bad_code of {
benchmark_name : Mavryk_benchmark.Namespace.t;
micheline : Mavryk_protocol_alpha.Protocol.Alpha_context.Script.expr;
expected_stack_type : Mavryk_protocol_alpha.Protocol.Alpha_context.Script.expr
list;
phase : phase;
}
val pp_phase : Stdlib.Format.formatter -> phase -> unit
val report_michelson_errors :
Stdlib.Format.formatter ->
Mavryk_base.TzPervasives.Error_monad.error list ->
unit
val pp_error_kind : Stdlib.Format.formatter -> error_kind -> unit
exception Translator_benchmark_error of error_kind
val global_error :
Mavryk_benchmark.Namespace.t ->
Mavryk_base.TzPervasives.tztrace ->
'a
val bad_code :
Mavryk_benchmark.Namespace.t ->
Mavryk_protocol_alpha.Protocol.Alpha_context.Script.expr ->
Mavryk_protocol_alpha.Protocol.Alpha_context.Script.expr list ->
phase ->
'a
val check_printable_benchmark :
(module Mavryk_benchmark.Benchmark.Simple_with_num)
module Ty_eq : Benchmarks_proto.Benchmark.S
val dummy_type_generator :
int ->
Mavryk_protocol_alpha.Protocol.Script_typed_ir.ex_ty
val dummy_comparable_type_generator :
int ->
Mavryk_protocol_alpha.Protocol.Script_ir_translator.ex_comparable_ty
val unparse_ty :
Mavryk_raw_protocol_alpha.Alpha_context.context ->
('a, 'b) Mavryk_raw_protocol_alpha.Script_typed_ir.ty ->
(int Mavryk_raw_protocol_alpha.Alpha_context.Script.michelson_node
* Mavryk_raw_protocol_alpha.Alpha_context.context,
Mavryk_protocol_environment_alpha.Error_monad.error
Mavryk_protocol_environment_alpha.Error_monad.trace)
Mavryk_protocol_environment_alpha.Pervasives.result