Mavryk_benchmarks_proto_alpha.Translator_workload
module Size = Mavryk_protocol_alpha.Protocol.Gas_input_size
type t =
| Typechecker_workload of {
t_kind : kind;
code_or_data : code_or_data;
micheline_size : Size.micheline_size;
consumed : Size.t;
}
val kind_encoding : kind Mavryk_base.TzPervasives.Data_encoding.t
val code_or_data_encoding :
code_or_data Mavryk_base.TzPervasives.Data_encoding.t
val encoding : t Mavryk_base.TzPervasives.Data_encoding.t
val pp_kind : Stdlib.Format.formatter -> kind -> unit
val pp_code_or_data : Stdlib.Format.formatter -> code_or_data -> unit
val pp : Stdlib.Format.formatter -> t -> unit
val workload_to_sparse_vec : t -> Mavryk_benchmark.Sparse_vec.String.t
val data_typechecker_workload :
Mavryk_raw_protocol_alpha__Alpha_context.t ->
kind ->
Mavryk_raw_protocol_alpha.Alpha_context.Script.node ->
Mavryk_protocol_alpha.Protocol.Script_typed_ir.ex_ty ->
t option
val code_typechecker_workload :
Mavryk_protocol_alpha.Protocol.Alpha_context.context ->
kind ->
Mavryk_protocol_alpha.Protocol.Alpha_context.Script.node ->
Mavryk_protocol_alpha.Protocol.Script_ir_translator.ex_stack_ty ->
t option