diff --git a/air/src/execution_step/instructions/call/prev_result_handler.rs b/air/src/execution_step/instructions/call/prev_result_handler.rs index bb96debf..5b05cfd1 100644 --- a/air/src/execution_step/instructions/call/prev_result_handler.rs +++ b/air/src/execution_step/instructions/call/prev_result_handler.rs @@ -80,7 +80,9 @@ pub(super) fn handle_prev_state<'i>( RequestSentBy(Sender::PeerIdWithCallId { ref peer_id, call_id }) if peer_id.as_str() == exec_ctx.run_parameters.current_peer_id.as_str() => { - // call results are identified by call_id that is saved in data + // call results are identified by call_id that is saved in data; + // for compatiblity with JavaScript with binary formats, string IDs are used + let call_id = call_id.to_string(); match exec_ctx.call_results.remove(&call_id) { Some(call_result) => { update_state_with_service_result( diff --git a/air/tests/test_module/negative_tests/farewell_step.rs b/air/tests/test_module/negative_tests/farewell_step.rs index c9106e38..3c826343 100644 --- a/air/tests/test_module/negative_tests/farewell_step.rs +++ b/air/tests/test_module/negative_tests/farewell_step.rs @@ -35,7 +35,7 @@ fn unprocessed_call_result() { let expected_call_service_result = air_interpreter_interface::CallServiceResult::ok(&json!("null")); let expected_call_results = maplit::hashmap!( - 70 => expected_call_service_result, + "70".to_owned() => expected_call_service_result, ); let expected_error = FarewellError::UnprocessedCallResult(expected_call_results); assert!(check_error(&result, expected_error)); diff --git a/avm/client/src/avmHelpers.ts b/avm/client/src/avmHelpers.ts index 49c5ae3a..1578016a 100644 --- a/avm/client/src/avmHelpers.ts +++ b/avm/client/src/avmHelpers.ts @@ -15,16 +15,16 @@ */ import { CallResultsArray, InterpreterResult, CallRequest, RunParameters, JSONArray, JSONObject } from './types'; -import { JsonRepr } from './formats' +import { MulticodecRepr, MsgPackRepr } from './formats' // Have to match the air-interpreter-interface. -const callRequestsRepr = new JsonRepr(); +const callRequestsRepr = new MulticodecRepr(new MsgPackRepr()); // Have to match the air-interpreter-interface. -const argumentRepr = new JsonRepr(); +const argumentRepr = new MsgPackRepr(); // Have to match the air-interpreter-interface. -const tetrapletRepr = new JsonRepr(); +const tetrapletRepr = new MsgPackRepr(); // Have to match the air-interpreter-interface. -const callResultsRepr = new JsonRepr(); +const callResultsRepr = new MulticodecRepr(new MsgPackRepr()); /** * Encodes arguments into JSON array suitable for marine-js diff --git a/avm/client/src/formats.ts b/avm/client/src/formats.ts index 21f65af0..31dc9c7f 100644 --- a/avm/client/src/formats.ts +++ b/avm/client/src/formats.ts @@ -93,7 +93,7 @@ export class MulticodecRepr implements Representation { toBinary(obj: object): Uint8Array { let bareData = this.serializer.toBinary(obj); - let varintCode = multicodec.getVarintFromCode(this.serializer.get_code()); - return multicodec.addPrefix(varintCode, bareData) + let codeName = multicodec.getNameFromCode(this.serializer.get_code()); + return multicodec.addPrefix(codeName, bareData) } } diff --git a/avm/interface/src/call_service_result.rs b/avm/interface/src/call_service_result.rs index e994df47..b4129567 100644 --- a/avm/interface/src/call_service_result.rs +++ b/avm/interface/src/call_service_result.rs @@ -63,7 +63,7 @@ impl CallServiceResult { pub fn into_raw_result(call_results: CallResults) -> air_interpreter_interface::CallResults { call_results .into_iter() - .map(|(call_id, call_result)| (call_id, call_result.into_raw())) + .map(|(call_id, call_result)| (call_id.to_string(), call_result.into_raw())) .collect::<_>() } diff --git a/benches/PERFORMANCE.json b/benches/PERFORMANCE.json index e702503f..f578cdae 100644 --- a/benches/PERFORMANCE.json +++ b/benches/PERFORMANCE.json @@ -2809,192 +2809,192 @@ "big-values-data": { "comment": "Loading a trace with huge values", "memory_sizes": [ - "59.000 MiB", - "59.000 MiB" + "58.062 MiB", + "58.062 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "13.18ms", + "duration": "7.98ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "5.28ms", + "duration": "3.46ms", "nested": { - "try_from_slice": "5.24ms" + "try_from_slice": "3.41ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "190.00µs", + "duration": "161.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "40.00µs", + "duration": "47.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "28.00µs" + "air_parser::parser::air_parser::parse": "29.00µs" } }, - "runner::execute": "8.00µs", + "runner::execute": "9.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "3.41ms", + "duration": "2.59ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "3.39ms", + "duration": "2.57ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "3.35ms", + "duration": "2.53ms", "nested": { - "CallRequestsRepr.serialize": "16.00µs", - "InterpreterData::serialize": "2.36ms" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "2.42ms" } } } } } }, - "signing_step::sign_produced_cids": "100.00µs", + "signing_step::sign_produced_cids": "62.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "4.00ms", + "duration": "1.53ms", "nested": { - "verify": "3.64ms" + "verify": "1.34ms" } } } } }, - "total_time": "13.18ms" + "total_time": "7.98ms" }, "call-requests500": { "comment": "multiple call requests", "memory_sizes": [ - "55.500 MiB", - "55.500 MiB" + "57.438 MiB", + "57.500 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "18.37ms", + "duration": "19.56ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "145.00µs", + "duration": "133.00µs", "nested": { - "try_from_slice": "99.00µs" + "try_from_slice": "90.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "243.00µs", + "duration": "214.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "44.00µs", + "duration": "51.00µs", "nested": { - "CallResultsRepr.deserialize": "18.00µs" + "CallResultsRepr.deserialize": "20.00µs" } }, - "air_parser::parser::air_parser::parse": "71.00µs" + "air_parser::parser::air_parser::parse": "73.00µs" } }, - "runner::execute": "16.83ms", + "runner::execute": "18.02ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "780.00µs", + "duration": "882.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "759.00µs", + "duration": "861.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "652.00µs", + "duration": "752.00µs", "nested": { - "CallRequestsRepr.serialize": "276.00µs", - "InterpreterData::serialize": "217.00µs" + "CallRequestsRepr.serialize": "409.00µs", + "InterpreterData::serialize": "219.00µs" } } } } } }, - "signing_step::sign_produced_cids": "105.00µs", + "signing_step::sign_produced_cids": "66.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "81.00µs", + "duration": "58.00µs", "nested": { - "verify": "10.00µs" + "verify": "11.00µs" } } } } }, - "total_time": "18.37ms" + "total_time": "19.56ms" }, "call-results500": { "comment": "multiple call results", "memory_sizes": [ - "54.438 MiB", - "54.438 MiB" + "54.562 MiB", + "54.562 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "14.90ms", + "duration": "16.87ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "611.00µs", + "duration": "594.00µs", "nested": { - "try_from_slice": "568.00µs" + "try_from_slice": "548.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "330.00µs", + "duration": "388.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "136.00µs", + "duration": "223.00µs", "nested": { - "CallResultsRepr.deserialize": "107.00µs" + "CallResultsRepr.deserialize": "190.00µs" } }, - "air_parser::parser::air_parser::parse": "66.00µs" + "air_parser::parser::air_parser::parse": "74.00µs" } }, - "runner::execute": "11.51ms", + "runner::execute": "13.56ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.88ms", + "duration": "1.82ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.86ms", + "duration": "1.79ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.40ms", + "duration": "1.33ms", "nested": { - "CallRequestsRepr.serialize": "16.00µs", - "InterpreterData::serialize": "949.00µs" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "900.00µs" } } } } } }, - "signing_step::sign_produced_cids": "288.00µs", + "signing_step::sign_produced_cids": "251.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "96.00µs", + "duration": "69.00µs", "nested": { "verify": "9.00µs" } @@ -3002,54 +3002,54 @@ } } }, - "total_time": "14.90ms" + "total_time": "16.87ms" }, "canon-map-key-by-lens": { "comment": "benchmarking a map insert operation", "memory_sizes": [ - "56.625 MiB", - "56.625 MiB" + "56.750 MiB", + "56.750 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "10.90ms", + "duration": "10.73ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "3.17ms", + "duration": "3.00ms", "nested": { - "try_from_slice": "3.12ms" + "try_from_slice": "2.96ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "401.00µs", + "duration": "389.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "210.00µs", + "duration": "218.00µs", "nested": { - "CallResultsRepr.deserialize": "11.00µs" + "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "69.00µs" + "air_parser::parser::air_parser::parse": "83.00µs" } }, - "runner::execute": "1.93ms", + "runner::execute": "2.34ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.94ms", + "duration": "1.89ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.92ms", + "duration": "1.87ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.56ms", + "duration": "1.55ms", "nested": { - "CallRequestsRepr.serialize": "15.00µs", + "CallRequestsRepr.serialize": "12.00µs", "InterpreterData::serialize": "1.26ms" } } @@ -3057,142 +3057,142 @@ } } }, - "signing_step::sign_produced_cids": "100.00µs", + "signing_step::sign_produced_cids": "62.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "3.16ms", + "duration": "2.87ms", "nested": { - "verify": "2.80ms" + "verify": "2.67ms" } } } } }, - "total_time": "10.90ms" + "total_time": "10.73ms" }, "canon-map-key-element-by-lens": { "comment": "benchmarking a map insert operation", "memory_sizes": [ - "56.625 MiB", - "56.625 MiB" + "56.688 MiB", + "56.688 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "10.80ms", + "duration": "10.67ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "3.15ms", + "duration": "3.00ms", "nested": { - "try_from_slice": "3.10ms" + "try_from_slice": "2.96ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "399.00µs", + "duration": "381.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "209.00µs", + "duration": "218.00µs", "nested": { - "CallResultsRepr.deserialize": "10.00µs" + "CallResultsRepr.deserialize": "11.00µs" } }, - "air_parser::parser::air_parser::parse": "70.00µs" + "air_parser::parser::air_parser::parse": "76.00µs" } }, - "runner::execute": "1.92ms", + "runner::execute": "2.30ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.91ms", + "duration": "1.87ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.89ms", + "duration": "1.85ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", "duration": "1.55ms", "nested": { - "CallRequestsRepr.serialize": "16.00µs", - "InterpreterData::serialize": "1.25ms" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "1.27ms" } } } } } }, - "signing_step::sign_produced_cids": "100.00µs", + "signing_step::sign_produced_cids": "62.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "3.17ms", + "duration": "2.88ms", "nested": { - "verify": "2.80ms" + "verify": "2.67ms" } } } } }, - "total_time": "10.80ms" + "total_time": "10.67ms" }, "canon-map-multiple-keys": { "comment": "benchmarking a map insert operation", "memory_sizes": [ - "54.500 MiB", - "54.500 MiB" + "54.562 MiB", + "54.562 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "8.88ms", + "duration": "9.36ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "416.00µs", + "duration": "405.00µs", "nested": { - "try_from_slice": "372.00µs" + "try_from_slice": "358.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "218.00µs", + "duration": "195.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "38.00µs", + "duration": "44.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "58.00µs" + "air_parser::parser::air_parser::parse": "65.00µs" } }, - "runner::execute": "5.87ms", + "runner::execute": "6.59ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.69ms", + "duration": "1.68ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.67ms", + "duration": "1.66ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", "duration": "1.37ms", "nested": { - "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "1.08ms" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "1.09ms" } } } } } }, - "signing_step::sign_produced_cids": "99.00µs", + "signing_step::sign_produced_cids": "63.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "413.00µs", + "duration": "244.00µs", "nested": { "verify": "40.00µs" } @@ -3200,7 +3200,7 @@ } } }, - "total_time": "8.88ms" + "total_time": "9.36ms" }, "canon-map-scalar-multiple-keys": { "comment": "benchmarking a map insert operation", @@ -3211,194 +3211,194 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "4.17ms", + "duration": "3.92ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "414.00µs", + "duration": "407.00µs", "nested": { - "try_from_slice": "366.00µs" + "try_from_slice": "361.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "214.00µs", + "duration": "190.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "38.00µs", + "duration": "43.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "58.00µs" + "air_parser::parser::air_parser::parse": "63.00µs" } }, - "runner::execute": "2.42ms", + "runner::execute": "2.46ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "415.00µs", + "duration": "374.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "393.00µs", + "duration": "355.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "354.00µs", + "duration": "318.00µs", "nested": { - "CallRequestsRepr.serialize": "15.00µs", - "InterpreterData::serialize": "110.00µs" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "114.00µs" } } } } } }, - "signing_step::sign_produced_cids": "101.00µs", + "signing_step::sign_produced_cids": "63.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "416.00µs", + "duration": "243.00µs", "nested": { - "verify": "42.00µs" + "verify": "39.00µs" } } } } }, - "total_time": "4.17ms" + "total_time": "3.92ms" }, "canon-map-scalar-single-key": { "comment": "benchmarking a map insert operation", "memory_sizes": [ - "53.000 MiB", - "53.000 MiB" + "53.062 MiB", + "53.062 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "3.35ms", + "duration": "3.12ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "410.00µs", + "duration": "400.00µs", "nested": { - "try_from_slice": "368.00µs" + "try_from_slice": "354.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "214.00µs", + "duration": "186.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "38.00µs", + "duration": "42.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "54.00µs" + "air_parser::parser::air_parser::parse": "60.00µs" } }, - "runner::execute": "1.57ms", + "runner::execute": "1.66ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "417.00µs", + "duration": "379.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "398.00µs", + "duration": "360.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "341.00µs", + "duration": "306.00µs", "nested": { - "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "121.00µs" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "120.00µs" } } } } } }, - "signing_step::sign_produced_cids": "100.00µs", + "signing_step::sign_produced_cids": "63.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "448.00µs", + "duration": "256.00µs", "nested": { - "verify": "76.00µs" + "verify": "55.00µs" } } } } }, - "total_time": "3.35ms" + "total_time": "3.12ms" }, "canon-map-single-key": { "comment": "benchmarking a map insert operation", "memory_sizes": [ - "55.312 MiB", - "55.312 MiB" + "55.375 MiB", + "55.375 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "7.45ms", + "duration": "7.84ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "421.00µs", + "duration": "398.00µs", "nested": { - "try_from_slice": "376.00µs" + "try_from_slice": "351.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "208.00µs", + "duration": "189.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "37.00µs", + "duration": "43.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "54.00µs" + "air_parser::parser::air_parser::parse": "62.00µs" } }, - "runner::execute": "4.32ms", + "runner::execute": "4.98ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.78ms", + "duration": "1.77ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.76ms", + "duration": "1.75ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.52ms", + "duration": "1.51ms", "nested": { - "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "1.25ms" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "1.26ms" } } } } } }, - "signing_step::sign_produced_cids": "98.00µs", + "signing_step::sign_produced_cids": "62.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "444.00µs", + "duration": "254.00µs", "nested": { - "verify": "74.00µs" + "verify": "53.00µs" } } } } }, - "total_time": "7.45ms" + "total_time": "7.84ms" }, "dashboard": { "comment": "big dashboard test", @@ -3409,79 +3409,145 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "5.75ms", + "duration": "4.17ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "999.00µs", + "duration": "798.00µs", "nested": { - "try_from_slice": "944.00µs" + "try_from_slice": "737.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "335.00µs", + "duration": "308.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "54.00µs", + "duration": "56.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "161.00µs" + "air_parser::parser::air_parser::parse": "167.00µs" } }, - "runner::execute": "754.00µs", + "runner::execute": "776.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "519.00µs", + "duration": "495.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "499.00µs", + "duration": "475.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "454.00µs", + "duration": "432.00µs", "nested": { - "CallRequestsRepr.serialize": "20.00µs", - "InterpreterData::serialize": "232.00µs" + "CallRequestsRepr.serialize": "22.00µs", + "InterpreterData::serialize": "238.00µs" } } } } } }, - "signing_step::sign_produced_cids": "101.00µs", + "signing_step::sign_produced_cids": "65.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "2.86ms", + "duration": "1.54ms", "nested": { - "verify": "156.00µs" + "verify": "150.00µs" } } } } }, - "total_time": "5.75ms" + "total_time": "4.17ms" }, "long-data": { "comment": "Long data trace", "memory_sizes": [ - "53.812 MiB", - "53.812 MiB" + "53.000 MiB", + "53.000 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "5.04ms", + "duration": "3.72ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "1.89ms", + "duration": "1.38ms", "nested": { - "try_from_slice": "1.84ms" + "try_from_slice": "1.34ms" + } + }, + "preparation_step::preparation::prepare": { + "common_prefix": "", + "duration": "173.00µs", + "nested": { + "air::preparation_step::preparation::make_exec_ctx": { + "common_prefix": "air::preparation_step::preparation", + "duration": "59.00µs", + "nested": { + "CallResultsRepr.deserialize": "10.00µs" + } + }, + "air_parser::parser::air_parser::parse": "29.00µs" + } + }, + "runner::execute": "9.00µs", + "runner::farewell": { + "common_prefix": "air::farewell_step::outcome", + "duration": "687.00µs", + "nested": { + "from_success_result": { + "common_prefix": "air::farewell_step::outcome", + "duration": "667.00µs", + "nested": { + "populate_outcome_from_contexts": { + "common_prefix": "air::farewell_step::outcome", + "duration": "630.00µs", + "nested": { + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "434.00µs" + } + } + } + } + } + }, + "signing_step::sign_produced_cids": "63.00µs", + "verification_step::verify": { + "common_prefix": "air_interpreter_data::cid_info", + "duration": "1.22ms", + "nested": { + "verify": "332.00µs" + } + } + } + } + }, + "total_time": "3.72ms" + }, + "multiple-cids10": { + "comment": "verifying multiple CIDs for single peer", + "memory_sizes": [ + "52.500 MiB", + "52.500 MiB" + ], + "stats": { + "air::runner::execute_air": { + "common_prefix": "air", + "duration": "2.19ms", + "nested": { + "preparation_step::preparation::parse_data": { + "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", + "duration": "397.00µs", + "nested": { + "try_from_slice": "340.00µs" } }, "preparation_step::preparation::prepare": { @@ -3490,113 +3556,47 @@ "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "53.00µs", + "duration": "52.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "27.00µs" + "air_parser::parser::air_parser::parse": "64.00µs" } }, - "runner::execute": "8.00µs", + "runner::execute": "414.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "963.00µs", + "duration": "359.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "944.00µs", + "duration": "338.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "908.00µs", + "duration": "289.00µs", "nested": { - "CallRequestsRepr.serialize": "16.00µs", - "InterpreterData::serialize": "414.00µs" + "CallRequestsRepr.serialize": "14.00µs", + "InterpreterData::serialize": "145.00µs" } } } } } }, - "signing_step::sign_produced_cids": "99.00µs", + "signing_step::sign_produced_cids": "63.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "1.72ms", + "duration": "577.00µs", "nested": { - "verify": "662.00µs" + "verify": "186.00µs" } } } } }, - "total_time": "5.04ms" - }, - "multiple-cids10": { - "comment": "verifying multiple CIDs for single peer", - "memory_sizes": [ - "52.438 MiB", - "52.438 MiB" - ], - "stats": { - "air::runner::execute_air": { - "common_prefix": "air", - "duration": "2.63ms", - "nested": { - "preparation_step::preparation::parse_data": { - "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "429.00µs", - "nested": { - "try_from_slice": "374.00µs" - } - }, - "preparation_step::preparation::prepare": { - "common_prefix": "", - "duration": "223.00µs", - "nested": { - "air::preparation_step::preparation::make_exec_ctx": { - "common_prefix": "air::preparation_step::preparation", - "duration": "47.00µs", - "nested": { - "CallResultsRepr.deserialize": "10.00µs" - } - }, - "air_parser::parser::air_parser::parse": "56.00µs" - } - }, - "runner::execute": "415.00µs", - "runner::farewell": { - "common_prefix": "air::farewell_step::outcome", - "duration": "383.00µs", - "nested": { - "from_success_result": { - "common_prefix": "air::farewell_step::outcome", - "duration": "363.00µs", - "nested": { - "populate_outcome_from_contexts": { - "common_prefix": "air::farewell_step::outcome", - "duration": "311.00µs", - "nested": { - "CallRequestsRepr.serialize": "13.00µs", - "InterpreterData::serialize": "134.00µs" - } - } - } - } - } - }, - "signing_step::sign_produced_cids": "101.00µs", - "verification_step::verify": { - "common_prefix": "air_interpreter_data::cid_info", - "duration": "901.00µs", - "nested": { - "verify": "182.00µs" - } - } - } - } - }, - "total_time": "2.63ms" + "total_time": "2.19ms" }, "multiple-peers8": { "comment": "verifying many CIDs for many peers", @@ -3607,62 +3607,62 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "9.56ms", + "duration": "7.75ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "1.39ms", + "duration": "1.24ms", "nested": { - "try_from_slice": "1.33ms" + "try_from_slice": "1.18ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "277.00µs", + "duration": "250.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "94.00µs", + "duration": "96.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "62.00µs" + "air_parser::parser::air_parser::parse": "69.00µs" } }, - "runner::execute": "2.65ms", + "runner::execute": "2.63ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "978.00µs", + "duration": "946.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "959.00µs", + "duration": "925.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "856.00µs", + "duration": "824.00µs", "nested": { "CallRequestsRepr.serialize": "13.00µs", - "InterpreterData::serialize": "582.00µs" + "InterpreterData::serialize": "588.00µs" } } } } } }, - "signing_step::sign_produced_cids": "106.00µs", + "signing_step::sign_produced_cids": "63.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "3.98ms", + "duration": "2.45ms", "nested": { - "verify": "743.00µs" + "verify": "766.00µs" } } } } }, - "total_time": "9.56ms" + "total_time": "7.75ms" }, "multiple-sigs30": { "comment": "signing multiple CIDs", @@ -3673,62 +3673,62 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "17.48ms", + "duration": "17.05ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "3.95ms", + "duration": "3.88ms", "nested": { - "try_from_slice": "3.90ms" + "try_from_slice": "3.83ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "350.00µs", + "duration": "326.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "172.00µs", + "duration": "173.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "59.00µs" + "air_parser::parser::air_parser::parse": "69.00µs" } }, - "runner::execute": "6.93ms", + "runner::execute": "6.97ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "2.63ms", + "duration": "2.62ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "2.61ms", + "duration": "2.60ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "2.43ms", + "duration": "2.42ms", "nested": { "CallRequestsRepr.serialize": "12.00µs", - "InterpreterData::serialize": "1.57ms" + "InterpreterData::serialize": "1.59ms" } } } } } }, - "signing_step::sign_produced_cids": "444.00µs", + "signing_step::sign_produced_cids": "406.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "2.98ms", + "duration": "2.67ms", "nested": { - "verify": "1.28ms" + "verify": "1.31ms" } } } } }, - "total_time": "17.48ms" + "total_time": "17.05ms" }, "network-explore": { "comment": "5 peers of network are discovered", @@ -3739,62 +3739,62 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "3.15ms", + "duration": "2.12ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "484.00µs", + "duration": "372.00µs", "nested": { - "try_from_slice": "430.00µs" + "try_from_slice": "314.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "236.00µs", + "duration": "211.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "41.00µs", + "duration": "45.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "77.00µs" + "air_parser::parser::air_parser::parse": "82.00µs" } }, - "runner::execute": "138.00µs", + "runner::execute": "153.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "315.00µs", + "duration": "278.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "294.00µs", + "duration": "259.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "253.00µs", + "duration": "220.00µs", "nested": { "CallRequestsRepr.serialize": "13.00µs", - "InterpreterData::serialize": "92.00µs" + "InterpreterData::serialize": "93.00µs" } } } } } }, - "signing_step::sign_produced_cids": "101.00µs", + "signing_step::sign_produced_cids": "65.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "1.69ms", + "duration": "867.00µs", "nested": { - "verify": "64.00µs" + "verify": "63.00µs" } } } } }, - "total_time": "3.15ms" + "total_time": "2.12ms" }, "null": { "comment": "Empty data and null script", @@ -3805,37 +3805,37 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "829.00µs", + "duration": "715.00µs", "nested": { - "preparation_step::preparation::parse_data": "24.00µs", + "preparation_step::preparation::parse_data": "20.00µs", "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "206.00µs", + "duration": "182.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "40.00µs", + "duration": "44.00µs", "nested": { - "CallResultsRepr.deserialize": "11.00µs" + "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "35.00µs" + "air_parser::parser::air_parser::parse": "37.00µs" } }, "runner::execute": "9.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "242.00µs", + "duration": "207.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "223.00µs", + "duration": "187.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "186.00µs", + "duration": "145.00µs", "nested": { - "CallRequestsRepr.serialize": "16.00µs", + "CallRequestsRepr.serialize": "12.00µs", "InterpreterData::serialize": "31.00µs" } } @@ -3843,18 +3843,18 @@ } } }, - "signing_step::sign_produced_cids": "109.00µs", + "signing_step::sign_produced_cids": "70.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "47.00µs", + "duration": "40.00µs", "nested": { - "verify": "10.00µs" + "verify": "12.00µs" } } } } }, - "total_time": "829.00µs" + "total_time": "715.00µs" }, "parser-10000-100": { "comment": "long air script with lot of variable assignments", @@ -3865,37 +3865,37 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "23.30ms", + "duration": "24.65ms", "nested": { - "preparation_step::preparation::parse_data": "25.00µs", + "preparation_step::preparation::parse_data": "20.00µs", "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "21.75ms", + "duration": "23.19ms", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "37.00µs", + "duration": "46.00µs", "nested": { - "CallResultsRepr.deserialize": "11.00µs" + "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "21.58ms" + "air_parser::parser::air_parser::parse": "23.04ms" } }, - "runner::execute": "36.00µs", + "runner::execute": "50.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "247.00µs", + "duration": "208.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "227.00µs", + "duration": "188.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "190.00µs", + "duration": "152.00µs", "nested": { - "CallRequestsRepr.serialize": "16.00µs", + "CallRequestsRepr.serialize": "12.00µs", "InterpreterData::serialize": "35.00µs" } } @@ -3903,18 +3903,18 @@ } } }, - "signing_step::sign_produced_cids": "108.00µs", + "signing_step::sign_produced_cids": "67.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "49.00µs", + "duration": "41.00µs", "nested": { - "verify": "10.00µs" + "verify": "11.00µs" } } } } }, - "total_time": "23.30ms" + "total_time": "24.65ms" }, "parser-calls-10000-100": { "comment": "multiple calls parser benchmark", @@ -3925,56 +3925,56 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "22.94ms", + "duration": "23.36ms", "nested": { - "preparation_step::preparation::parse_data": "25.00µs", + "preparation_step::preparation::parse_data": "20.00µs", "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "21.20ms", + "duration": "21.67ms", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "40.00µs", + "duration": "46.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "21.00ms" + "air_parser::parser::air_parser::parse": "21.53ms" } }, - "runner::execute": "35.00µs", + "runner::execute": "50.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "251.00µs", + "duration": "212.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "231.00µs", + "duration": "192.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "191.00µs", + "duration": "154.00µs", "nested": { - "CallRequestsRepr.serialize": "16.00µs", - "InterpreterData::serialize": "35.00µs" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "36.00µs" } } } } } }, - "signing_step::sign_produced_cids": "109.00µs", + "signing_step::sign_produced_cids": "68.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "46.00µs", + "duration": "37.00µs", "nested": { - "verify": "10.00µs" + "verify": "11.00µs" } } } } }, - "total_time": "22.94ms" + "total_time": "23.36ms" }, "populate-map-multiple-keys": { "comment": "benchmarking a map insert operation", @@ -3985,62 +3985,62 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "3.61ms", + "duration": "3.25ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "158.00µs", + "duration": "152.00µs", "nested": { - "try_from_slice": "113.00µs" + "try_from_slice": "106.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "225.00µs", + "duration": "193.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "39.00µs", + "duration": "42.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "61.00µs" + "air_parser::parser::air_parser::parse": "67.00µs" } }, - "runner::execute": "2.18ms", + "runner::execute": "2.11ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "357.00µs", + "duration": "308.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "336.00µs", + "duration": "288.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "297.00µs", + "duration": "254.00µs", "nested": { - "CallRequestsRepr.serialize": "16.00µs", - "InterpreterData::serialize": "108.00µs" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "107.00µs" } } } } } }, - "signing_step::sign_produced_cids": "103.00µs", + "signing_step::sign_produced_cids": "62.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "409.00µs", + "duration": "236.00µs", "nested": { - "verify": "40.00µs" + "verify": "42.00µs" } } } } }, - "total_time": "3.61ms" + "total_time": "3.25ms" }, "populate-map-single-key": { "comment": "benchmarking a map insert operation", @@ -4051,67 +4051,67 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "2.87ms", + "duration": "2.58ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "216.00µs", + "duration": "197.00µs", "nested": { - "try_from_slice": "172.00µs" + "try_from_slice": "153.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "220.00µs", + "duration": "192.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "40.00µs", + "duration": "42.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "57.00µs" + "air_parser::parser::air_parser::parse": "64.00µs" } }, - "runner::execute": "1.33ms", + "runner::execute": "1.37ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "379.00µs", + "duration": "329.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "359.00µs", + "duration": "308.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "302.00µs", + "duration": "254.00µs", "nested": { - "CallRequestsRepr.serialize": "16.00µs", - "InterpreterData::serialize": "121.00µs" + "CallRequestsRepr.serialize": "12.00µs", + "InterpreterData::serialize": "117.00µs" } } } } } }, - "signing_step::sign_produced_cids": "102.00µs", + "signing_step::sign_produced_cids": "63.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "442.00µs", + "duration": "245.00µs", "nested": { - "verify": "76.00µs" + "verify": "52.00µs" } } } } }, - "total_time": "2.87ms" + "total_time": "2.58ms" } }, - "datetime": "2023-12-13 12:33:17.230462+00:00", + "datetime": "2024-01-05 11:54:12.456556+00:00", "features": "check_signatures,gen_signatures", - "platform": "macOS-14.2-arm64-arm-64bit", + "platform": "macOS-14.2.1-arm64-arm-64bit", "version": "0.55.0" }, "e536f8eaae8c978493a773ba566ae3393e2e6240d6ea8e05b5ca1b8f77e9c441": { @@ -4119,192 +4119,126 @@ "big-values-data": { "comment": "Loading a trace with huge values", "memory_sizes": [ - "59.000 MiB", - "59.000 MiB" + "58.062 MiB", + "58.062 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "17.75ms", + "duration": "10.53ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "7.14ms", + "duration": "3.67ms", "nested": { - "try_from_slice": "7.09ms" + "try_from_slice": "3.63ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "240.00µs", + "duration": "186.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "44.00µs", + "duration": "45.00µs", "nested": { "CallResultsRepr.deserialize": "11.00µs" } }, - "air_parser::parser::air_parser::parse": "19.00µs" + "air_parser::parser::air_parser::parse": "20.00µs" } }, - "runner::execute": "9.00µs", + "runner::execute": "10.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "4.82ms", + "duration": "4.43ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "4.80ms", + "duration": "4.41ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "4.76ms", + "duration": "4.38ms", "nested": { - "CallRequestsRepr.serialize": "15.00µs", - "InterpreterData::serialize": "3.62ms" + "CallRequestsRepr.serialize": "16.00µs", + "InterpreterData::serialize": "4.20ms" } } } } } }, - "signing_step::sign_produced_cids": "156.00µs", + "signing_step::sign_produced_cids": "96.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "5.26ms", + "duration": "2.00ms", "nested": { - "verify": "4.72ms" + "verify": "1.68ms" } } } } }, - "total_time": "17.75ms" + "total_time": "10.53ms" }, "call-requests500": { "comment": "multiple call requests", "memory_sizes": [ - "55.500 MiB", - "55.500 MiB" + "57.500 MiB", + "57.500 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "21.87ms", + "duration": "23.00ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "117.00µs", + "duration": "103.00µs", "nested": { - "try_from_slice": "80.00µs" + "try_from_slice": "65.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "272.00µs", + "duration": "215.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "41.00µs", + "duration": "42.00µs", "nested": { - "CallResultsRepr.deserialize": "14.00µs" + "CallResultsRepr.deserialize": "15.00µs" } }, "air_parser::parser::air_parser::parse": "49.00µs" } }, - "runner::execute": "19.81ms", + "runner::execute": "20.74ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.30ms", + "duration": "1.64ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.28ms", + "duration": "1.62ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.16ms", + "duration": "1.50ms", "nested": { - "CallRequestsRepr.serialize": "621.00µs", - "InterpreterData::serialize": "332.00µs" + "CallRequestsRepr.serialize": "1.00ms", + "InterpreterData::serialize": "336.00µs" } } } } } }, - "signing_step::sign_produced_cids": "160.00µs", + "signing_step::sign_produced_cids": "100.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "81.00µs", - "nested": { - "verify": "12.00µs" - } - } - } - } - }, - "total_time": "21.87ms" - }, - "call-results500": { - "comment": "multiple call results", - "memory_sizes": [ - "54.438 MiB", - "54.438 MiB" - ], - "stats": { - "air::runner::execute_air": { - "common_prefix": "air", - "duration": "18.92ms", - "nested": { - "preparation_step::preparation::parse_data": { - "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "664.00µs", - "nested": { - "try_from_slice": "624.00µs" - } - }, - "preparation_step::preparation::prepare": { - "common_prefix": "", - "duration": "394.00µs", - "nested": { - "air::preparation_step::preparation::make_exec_ctx": { - "common_prefix": "air::preparation_step::preparation", - "duration": "162.00µs", - "nested": { - "CallResultsRepr.deserialize": "132.00µs" - } - }, - "air_parser::parser::air_parser::parse": "50.00µs" - } - }, - "runner::execute": "14.93ms", - "runner::farewell": { - "common_prefix": "air::farewell_step::outcome", - "duration": "2.27ms", - "nested": { - "from_success_result": { - "common_prefix": "air::farewell_step::outcome", - "duration": "2.25ms", - "nested": { - "populate_outcome_from_contexts": { - "common_prefix": "air::farewell_step::outcome", - "duration": "1.87ms", - "nested": { - "CallRequestsRepr.serialize": "15.00µs", - "InterpreterData::serialize": "1.30ms" - } - } - } - } - } - }, - "signing_step::sign_produced_cids": "434.00µs", - "verification_step::verify": { - "common_prefix": "air_interpreter_data::cid_info", - "duration": "84.00µs", + "duration": "64.00µs", "nested": { "verify": "10.00µs" } @@ -4312,33 +4246,99 @@ } } }, - "total_time": "18.92ms" + "total_time": "23.00ms" }, - "canon-map-key-by-lens": { - "comment": "benchmarking a map insert operation", + "call-results500": { + "comment": "multiple call results", "memory_sizes": [ - "56.625 MiB", - "56.625 MiB" + "54.500 MiB", + "54.562 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "14.93ms", + "duration": "20.12ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "4.07ms", + "duration": "620.00µs", "nested": { - "try_from_slice": "4.03ms" + "try_from_slice": "580.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "552.00µs", + "duration": "417.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "318.00µs", + "duration": "239.00µs", + "nested": { + "CallResultsRepr.deserialize": "210.00µs" + } + }, + "air_parser::parser::air_parser::parse": "51.00µs" + } + }, + "runner::execute": "16.11ms", + "runner::farewell": { + "common_prefix": "air::farewell_step::outcome", + "duration": "2.40ms", + "nested": { + "from_success_result": { + "common_prefix": "air::farewell_step::outcome", + "duration": "2.38ms", + "nested": { + "populate_outcome_from_contexts": { + "common_prefix": "air::farewell_step::outcome", + "duration": "1.98ms", + "nested": { + "CallRequestsRepr.serialize": "14.00µs", + "InterpreterData::serialize": "1.45ms" + } + } + } + } + } + }, + "signing_step::sign_produced_cids": "369.00µs", + "verification_step::verify": { + "common_prefix": "air_interpreter_data::cid_info", + "duration": "67.00µs", + "nested": { + "verify": "10.00µs" + } + } + } + } + }, + "total_time": "20.12ms" + }, + "canon-map-key-by-lens": { + "comment": "benchmarking a map insert operation", + "memory_sizes": [ + "56.750 MiB", + "56.750 MiB" + ], + "stats": { + "air::runner::execute_air": { + "common_prefix": "air", + "duration": "14.68ms", + "nested": { + "preparation_step::preparation::parse_data": { + "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", + "duration": "3.75ms", + "nested": { + "try_from_slice": "3.70ms" + } + }, + "preparation_step::preparation::prepare": { + "common_prefix": "", + "duration": "485.00µs", + "nested": { + "air::preparation_step::preparation::make_exec_ctx": { + "common_prefix": "air::preparation_step::preparation", + "duration": "308.00µs", "nested": { "CallResultsRepr.deserialize": "11.00µs" } @@ -4346,73 +4346,7 @@ "air_parser::parser::air_parser::parse": "56.00µs" } }, - "runner::execute": "2.76ms", - "runner::farewell": { - "common_prefix": "air::farewell_step::outcome", - "duration": "2.81ms", - "nested": { - "from_success_result": { - "common_prefix": "air::farewell_step::outcome", - "duration": "2.79ms", - "nested": { - "populate_outcome_from_contexts": { - "common_prefix": "air::farewell_step::outcome", - "duration": "2.44ms", - "nested": { - "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "2.05ms" - } - } - } - } - } - }, - "signing_step::sign_produced_cids": "157.00µs", - "verification_step::verify": { - "common_prefix": "air_interpreter_data::cid_info", - "duration": "4.43ms", - "nested": { - "verify": "3.90ms" - } - } - } - } - }, - "total_time": "14.93ms" - }, - "canon-map-key-element-by-lens": { - "comment": "benchmarking a map insert operation", - "memory_sizes": [ - "56.625 MiB", - "56.625 MiB" - ], - "stats": { - "air::runner::execute_air": { - "common_prefix": "air", - "duration": "15.00ms", - "nested": { - "preparation_step::preparation::parse_data": { - "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "4.08ms", - "nested": { - "try_from_slice": "4.03ms" - } - }, - "preparation_step::preparation::prepare": { - "common_prefix": "", - "duration": "557.00µs", - "nested": { - "air::preparation_step::preparation::make_exec_ctx": { - "common_prefix": "air::preparation_step::preparation", - "duration": "316.00µs", - "nested": { - "CallResultsRepr.deserialize": "11.00µs" - } - }, - "air_parser::parser::air_parser::parse": "57.00µs" - } - }, - "runner::execute": "2.77ms", + "runner::execute": "3.32ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", "duration": "2.83ms", @@ -4423,94 +4357,160 @@ "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "2.47ms", + "duration": "2.48ms", "nested": { "CallRequestsRepr.serialize": "15.00µs", - "InterpreterData::serialize": "2.08ms" + "InterpreterData::serialize": "2.13ms" } } } } } }, - "signing_step::sign_produced_cids": "158.00µs", + "signing_step::sign_produced_cids": "99.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "4.44ms", + "duration": "4.07ms", "nested": { - "verify": "3.91ms" + "verify": "3.76ms" } } } } }, - "total_time": "15.00ms" + "total_time": "14.68ms" }, - "canon-map-multiple-keys": { + "canon-map-key-element-by-lens": { "comment": "benchmarking a map insert operation", "memory_sizes": [ - "54.500 MiB", - "54.500 MiB" + "56.688 MiB", + "56.688 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "12.45ms", + "duration": "14.64ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "350.00µs", + "duration": "3.78ms", "nested": { - "try_from_slice": "309.00µs" + "try_from_slice": "3.74ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "273.00µs", + "duration": "490.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "43.00µs", + "duration": "307.00µs", "nested": { - "CallResultsRepr.deserialize": "12.00µs" + "CallResultsRepr.deserialize": "11.00µs" + } + }, + "air_parser::parser::air_parser::parse": "59.00µs" + } + }, + "runner::execute": "3.27ms", + "runner::farewell": { + "common_prefix": "air::farewell_step::outcome", + "duration": "2.82ms", + "nested": { + "from_success_result": { + "common_prefix": "air::farewell_step::outcome", + "duration": "2.80ms", + "nested": { + "populate_outcome_from_contexts": { + "common_prefix": "air::farewell_step::outcome", + "duration": "2.49ms", + "nested": { + "CallRequestsRepr.serialize": "14.00µs", + "InterpreterData::serialize": "2.12ms" + } + } + } + } + } + }, + "signing_step::sign_produced_cids": "98.00µs", + "verification_step::verify": { + "common_prefix": "air_interpreter_data::cid_info", + "duration": "4.04ms", + "nested": { + "verify": "3.74ms" + } + } + } + } + }, + "total_time": "14.64ms" + }, + "canon-map-multiple-keys": { + "comment": "benchmarking a map insert operation", + "memory_sizes": [ + "54.562 MiB", + "54.562 MiB" + ], + "stats": { + "air::runner::execute_air": { + "common_prefix": "air", + "duration": "12.57ms", + "nested": { + "preparation_step::preparation::parse_data": { + "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", + "duration": "342.00µs", + "nested": { + "try_from_slice": "304.00µs" + } + }, + "preparation_step::preparation::prepare": { + "common_prefix": "", + "duration": "205.00µs", + "nested": { + "air::preparation_step::preparation::make_exec_ctx": { + "common_prefix": "air::preparation_step::preparation", + "duration": "40.00µs", + "nested": { + "CallResultsRepr.deserialize": "10.00µs" } }, "air_parser::parser::air_parser::parse": "47.00µs" } }, - "runner::execute": "8.62ms", + "runner::execute": "9.07ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "2.35ms", + "duration": "2.40ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "2.33ms", + "duration": "2.38ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "2.04ms", + "duration": "2.09ms", "nested": { - "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "1.69ms" + "CallRequestsRepr.serialize": "13.00µs", + "InterpreterData::serialize": "1.77ms" } } } } } }, - "signing_step::sign_produced_cids": "160.00µs", + "signing_step::sign_produced_cids": "96.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "557.00µs", + "duration": "331.00µs", "nested": { - "verify": "28.00µs" + "verify": "26.00µs" } } } } }, - "total_time": "12.45ms" + "total_time": "12.57ms" }, "canon-map-scalar-multiple-keys": { "comment": "benchmarking a map insert operation", @@ -4521,18 +4521,18 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "5.23ms", + "duration": "4.82ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "348.00µs", + "duration": "342.00µs", "nested": { - "try_from_slice": "309.00µs" + "try_from_slice": "302.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "264.00µs", + "duration": "206.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", @@ -4544,61 +4544,127 @@ "air_parser::parser::air_parser::parse": "46.00µs" } }, - "runner::execute": "3.29ms", + "runner::execute": "3.25ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "485.00µs", + "duration": "457.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "463.00µs", + "duration": "434.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "425.00µs", + "duration": "396.00µs", "nested": { "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "131.00µs" + "InterpreterData::serialize": "155.00µs" } } } } } }, - "signing_step::sign_produced_cids": "156.00µs", + "signing_step::sign_produced_cids": "99.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "555.00µs", + "duration": "334.00µs", "nested": { - "verify": "28.00µs" + "verify": "27.00µs" } } } } }, - "total_time": "5.23ms" + "total_time": "4.82ms" }, "canon-map-scalar-single-key": { "comment": "benchmarking a map insert operation", "memory_sizes": [ - "53.000 MiB", - "53.000 MiB" + "53.062 MiB", + "53.062 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "4.28ms", + "duration": "3.93ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "379.00µs", + "duration": "323.00µs", "nested": { - "try_from_slice": "341.00µs" + "try_from_slice": "284.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "259.00µs", + "duration": "199.00µs", + "nested": { + "air::preparation_step::preparation::make_exec_ctx": { + "common_prefix": "air::preparation_step::preparation", + "duration": "39.00µs", + "nested": { + "CallResultsRepr.deserialize": "10.00µs" + } + }, + "air_parser::parser::air_parser::parse": "42.00µs" + } + }, + "runner::execute": "2.39ms", + "runner::farewell": { + "common_prefix": "air::farewell_step::outcome", + "duration": "456.00µs", + "nested": { + "from_success_result": { + "common_prefix": "air::farewell_step::outcome", + "duration": "434.00µs", + "nested": { + "populate_outcome_from_contexts": { + "common_prefix": "air::farewell_step::outcome", + "duration": "386.00µs", + "nested": { + "CallRequestsRepr.serialize": "14.00µs", + "InterpreterData::serialize": "163.00µs" + } + } + } + } + } + }, + "signing_step::sign_produced_cids": "96.00µs", + "verification_step::verify": { + "common_prefix": "air_interpreter_data::cid_info", + "duration": "344.00µs", + "nested": { + "verify": "39.00µs" + } + } + } + } + }, + "total_time": "3.93ms" + }, + "canon-map-single-key": { + "comment": "benchmarking a map insert operation", + "memory_sizes": [ + "55.375 MiB", + "55.375 MiB" + ], + "stats": { + "air::runner::execute_air": { + "common_prefix": "air", + "duration": "10.94ms", + "nested": { + "preparation_step::preparation::parse_data": { + "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", + "duration": "326.00µs", + "nested": { + "try_from_slice": "287.00µs" + } + }, + "preparation_step::preparation::prepare": { + "common_prefix": "", + "duration": "204.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", @@ -4610,105 +4676,39 @@ "air_parser::parser::air_parser::parse": "43.00µs" } }, - "runner::execute": "2.29ms", + "runner::execute": "7.07ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "486.00µs", + "duration": "2.76ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "464.00µs", + "duration": "2.73ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "414.00µs", + "duration": "2.49ms", "nested": { - "CallRequestsRepr.serialize": "13.00µs", - "InterpreterData::serialize": "140.00µs" + "CallRequestsRepr.serialize": "14.00µs", + "InterpreterData::serialize": "2.19ms" } } } } } }, - "signing_step::sign_produced_cids": "156.00µs", + "signing_step::sign_produced_cids": "98.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "587.00µs", + "duration": "344.00µs", "nested": { - "verify": "60.00µs" + "verify": "39.00µs" } } } } }, - "total_time": "4.28ms" - }, - "canon-map-single-key": { - "comment": "benchmarking a map insert operation", - "memory_sizes": [ - "55.312 MiB", - "55.312 MiB" - ], - "stats": { - "air::runner::execute_air": { - "common_prefix": "air", - "duration": "10.71ms", - "nested": { - "preparation_step::preparation::parse_data": { - "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "372.00µs", - "nested": { - "try_from_slice": "335.00µs" - } - }, - "preparation_step::preparation::prepare": { - "common_prefix": "", - "duration": "258.00µs", - "nested": { - "air::preparation_step::preparation::make_exec_ctx": { - "common_prefix": "air::preparation_step::preparation", - "duration": "40.00µs", - "nested": { - "CallResultsRepr.deserialize": "10.00µs" - } - }, - "air_parser::parser::air_parser::parse": "42.00µs" - } - }, - "runner::execute": "6.56ms", - "runner::farewell": { - "common_prefix": "air::farewell_step::outcome", - "duration": "2.64ms", - "nested": { - "from_success_result": { - "common_prefix": "air::farewell_step::outcome", - "duration": "2.61ms", - "nested": { - "populate_outcome_from_contexts": { - "common_prefix": "air::farewell_step::outcome", - "duration": "2.38ms", - "nested": { - "CallRequestsRepr.serialize": "13.00µs", - "InterpreterData::serialize": "2.06ms" - } - } - } - } - } - }, - "signing_step::sign_produced_cids": "155.00µs", - "verification_step::verify": { - "common_prefix": "air_interpreter_data::cid_info", - "duration": "593.00µs", - "nested": { - "verify": "61.00µs" - } - } - } - } - }, - "total_time": "10.71ms" + "total_time": "10.94ms" }, "dashboard": { "comment": "big dashboard test", @@ -4719,84 +4719,84 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "8.33ms", + "duration": "6.02ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "1.31ms", + "duration": "1.03ms", "nested": { - "try_from_slice": "1.26ms" + "try_from_slice": "974.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "366.00µs", + "duration": "319.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", "duration": "63.00µs", "nested": { - "CallResultsRepr.deserialize": "10.00µs" + "CallResultsRepr.deserialize": "11.00µs" } }, - "air_parser::parser::air_parser::parse": "128.00µs" + "air_parser::parser::air_parser::parse": "132.00µs" } }, - "runner::execute": "1.07ms", + "runner::execute": "1.11ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "699.00µs", + "duration": "670.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "678.00µs", + "duration": "647.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "634.00µs", + "duration": "600.00µs", "nested": { - "CallRequestsRepr.serialize": "18.00µs", - "InterpreterData::serialize": "364.00µs" + "CallRequestsRepr.serialize": "24.00µs", + "InterpreterData::serialize": "372.00µs" } } } } } }, - "signing_step::sign_produced_cids": "158.00µs", + "signing_step::sign_produced_cids": "101.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "4.58ms", + "duration": "2.65ms", "nested": { - "verify": "192.00µs" + "verify": "181.00µs" } } } } }, - "total_time": "8.33ms" + "total_time": "6.02ms" }, "long-data": { "comment": "Long data trace", "memory_sizes": [ - "53.812 MiB", - "53.812 MiB" + "53.000 MiB", + "53.000 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "6.46ms", + "duration": "4.59ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "2.43ms", + "duration": "1.53ms", "nested": { - "try_from_slice": "2.39ms" + "try_from_slice": "1.48ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "260.00µs", + "duration": "204.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", @@ -4805,68 +4805,68 @@ "CallResultsRepr.deserialize": "11.00µs" } }, - "air_parser::parser::air_parser::parse": "19.00µs" + "air_parser::parser::air_parser::parse": "20.00µs" } }, "runner::execute": "9.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.17ms", + "duration": "939.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.15ms", + "duration": "917.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.11ms", + "duration": "881.00µs", "nested": { "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "547.00µs" + "InterpreterData::serialize": "676.00µs" } } } } } }, - "signing_step::sign_produced_cids": "156.00µs", + "signing_step::sign_produced_cids": "95.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "2.30ms", + "duration": "1.68ms", "nested": { - "verify": "827.00µs" + "verify": "423.00µs" } } } } }, - "total_time": "6.46ms" + "total_time": "4.59ms" }, "multiple-cids10": { "comment": "verifying multiple CIDs for single peer", "memory_sizes": [ - "52.438 MiB", - "52.438 MiB" + "52.500 MiB", + "52.500 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "3.43ms", + "duration": "2.75ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "466.00µs", + "duration": "420.00µs", "nested": { - "try_from_slice": "416.00µs" + "try_from_slice": "367.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "270.00µs", + "duration": "214.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "53.00µs", + "duration": "52.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } @@ -4874,105 +4874,105 @@ "air_parser::parser::air_parser::parse": "44.00µs" } }, - "runner::execute": "564.00µs", + "runner::execute": "556.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "504.00µs", + "duration": "465.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "483.00µs", + "duration": "443.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "433.00µs", + "duration": "392.00µs", "nested": { - "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "200.00µs" + "CallRequestsRepr.serialize": "15.00µs", + "InterpreterData::serialize": "215.00µs" } } } } } }, - "signing_step::sign_produced_cids": "155.00µs", + "signing_step::sign_produced_cids": "95.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "1.34ms", + "duration": "872.00µs", "nested": { - "verify": "228.00µs" + "verify": "227.00µs" } } } } }, - "total_time": "3.43ms" + "total_time": "2.75ms" }, "multiple-peers8": { "comment": "verifying many CIDs for many peers", "memory_sizes": [ - "53.375 MiB", - "53.375 MiB" + "53.438 MiB", + "53.438 MiB" ], "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "13.62ms", + "duration": "11.11ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "1.76ms", + "duration": "1.60ms", "nested": { - "try_from_slice": "1.70ms" + "try_from_slice": "1.54ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "353.00µs", + "duration": "295.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", "duration": "124.00µs", "nested": { - "CallResultsRepr.deserialize": "10.00µs" + "CallResultsRepr.deserialize": "11.00µs" } }, - "air_parser::parser::air_parser::parse": "50.00µs" + "air_parser::parser::air_parser::parse": "51.00µs" } }, - "runner::execute": "3.67ms", + "runner::execute": "3.65ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.36ms", + "duration": "1.32ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.33ms", + "duration": "1.30ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "1.23ms", + "duration": "1.20ms", "nested": { "CallRequestsRepr.serialize": "15.00µs", - "InterpreterData::serialize": "928.00µs" + "InterpreterData::serialize": "950.00µs" } } } } } }, - "signing_step::sign_produced_cids": "157.00µs", + "signing_step::sign_produced_cids": "97.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "6.20ms", + "duration": "4.01ms", "nested": { - "verify": "1.03ms" + "verify": "1.05ms" } } } } }, - "total_time": "13.62ms" + "total_time": "11.11ms" }, "multiple-sigs30": { "comment": "signing multiple CIDs", @@ -4983,62 +4983,62 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "24.67ms", + "duration": "24.02ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "4.96ms", + "duration": "4.87ms", "nested": { - "try_from_slice": "4.89ms" + "try_from_slice": "4.81ms" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "469.00µs", + "duration": "405.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "240.00µs", + "duration": "238.00µs", "nested": { "CallResultsRepr.deserialize": "11.00µs" } }, - "air_parser::parser::air_parser::parse": "50.00µs" + "air_parser::parser::air_parser::parse": "49.00µs" } }, - "runner::execute": "10.37ms", + "runner::execute": "10.45ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "3.79ms", + "duration": "3.71ms", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "3.77ms", + "duration": "3.69ms", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "3.60ms", + "duration": "3.51ms", "nested": { "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "2.62ms" + "InterpreterData::serialize": "2.59ms" } } } } } }, - "signing_step::sign_produced_cids": "665.00µs", + "signing_step::sign_produced_cids": "591.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "4.27ms", + "duration": "3.83ms", "nested": { - "verify": "1.76ms" + "verify": "1.79ms" } } } } }, - "total_time": "24.67ms" + "total_time": "24.02ms" }, "network-explore": { "comment": "5 peers of network are discovered", @@ -5049,18 +5049,18 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "4.44ms", + "duration": "2.96ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "588.00µs", + "duration": "431.00µs", "nested": { - "try_from_slice": "536.00µs" + "try_from_slice": "376.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "283.00µs", + "duration": "234.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", @@ -5069,42 +5069,42 @@ "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "67.00µs" + "air_parser::parser::air_parser::parse": "70.00µs" } }, - "runner::execute": "163.00µs", + "runner::execute": "164.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "416.00µs", + "duration": "393.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "395.00µs", + "duration": "372.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "356.00µs", + "duration": "331.00µs", "nested": { - "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "134.00µs" + "CallRequestsRepr.serialize": "15.00µs", + "InterpreterData::serialize": "162.00µs" } } } } } }, - "signing_step::sign_produced_cids": "157.00µs", + "signing_step::sign_produced_cids": "98.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "2.70ms", + "duration": "1.50ms", "nested": { - "verify": "62.00µs" + "verify": "60.00µs" } } } } }, - "total_time": "4.44ms" + "total_time": "2.96ms" }, "null": { "comment": "Empty data and null script", @@ -5115,48 +5115,48 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "950.00µs", + "duration": "715.00µs", "nested": { "preparation_step::preparation::parse_data": "17.00µs", "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "261.00µs", + "duration": "186.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "39.00µs", + "duration": "38.00µs", "nested": { - "CallResultsRepr.deserialize": "10.00µs" + "CallResultsRepr.deserialize": "11.00µs" } }, - "air_parser::parser::air_parser::parse": "18.00µs" + "air_parser::parser::air_parser::parse": "19.00µs" } }, "runner::execute": "9.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "326.00µs", + "duration": "248.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "306.00µs", + "duration": "227.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "272.00µs", + "duration": "192.00µs", "nested": { "CallRequestsRepr.serialize": "13.00µs", - "InterpreterData::serialize": "42.00µs" + "InterpreterData::serialize": "41.00µs" } } } } } }, - "signing_step::sign_produced_cids": "175.00µs", + "signing_step::sign_produced_cids": "96.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "34.00µs", + "duration": "33.00µs", "nested": { "verify": "10.00µs" } @@ -5164,7 +5164,7 @@ } } }, - "total_time": "950.00µs" + "total_time": "715.00µs" }, "parser-10000-100": { "comment": "long air script with lot of variable assignments", @@ -5175,48 +5175,48 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "28.86ms", + "duration": "29.92ms", "nested": { - "preparation_step::preparation::parse_data": "16.00µs", + "preparation_step::preparation::parse_data": "17.00µs", "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "27.56ms", + "duration": "28.77ms", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "41.00µs", + "duration": "39.00µs", "nested": { - "CallResultsRepr.deserialize": "11.00µs" + "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "27.34ms" + "air_parser::parser::air_parser::parse": "28.62ms" } }, "runner::execute": "27.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "312.00µs", + "duration": "252.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "290.00µs", + "duration": "231.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "256.00µs", + "duration": "195.00µs", "nested": { "CallRequestsRepr.serialize": "13.00µs", - "InterpreterData::serialize": "44.00µs" + "InterpreterData::serialize": "42.00µs" } } } } } }, - "signing_step::sign_produced_cids": "158.00µs", + "signing_step::sign_produced_cids": "97.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "35.00µs", + "duration": "33.00µs", "nested": { "verify": "10.00µs" } @@ -5224,7 +5224,7 @@ } } }, - "total_time": "28.86ms" + "total_time": "29.92ms" }, "parser-calls-10000-100": { "comment": "multiple calls parser benchmark", @@ -5235,48 +5235,48 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "25.49ms", + "duration": "26.54ms", "nested": { "preparation_step::preparation::parse_data": "17.00µs", "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "24.18ms", + "duration": "25.35ms", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "38.00µs", + "duration": "40.00µs", "nested": { "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "23.94ms" + "air_parser::parser::air_parser::parse": "25.17ms" } }, - "runner::execute": "28.00µs", + "runner::execute": "29.00µs", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "311.00µs", + "duration": "252.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "290.00µs", + "duration": "231.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "256.00µs", + "duration": "196.00µs", "nested": { "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "44.00µs" + "InterpreterData::serialize": "42.00µs" } } } } } }, - "signing_step::sign_produced_cids": "158.00µs", + "signing_step::sign_produced_cids": "98.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "35.00µs", + "duration": "34.00µs", "nested": { "verify": "10.00µs" } @@ -5284,7 +5284,7 @@ } } }, - "total_time": "25.49ms" + "total_time": "26.54ms" }, "populate-map-multiple-keys": { "comment": "benchmarking a map insert operation", @@ -5295,62 +5295,62 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "4.51ms", + "duration": "3.99ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "133.00µs", + "duration": "111.00µs", "nested": { - "try_from_slice": "95.00µs" + "try_from_slice": "74.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "273.00µs", + "duration": "206.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "42.00µs", + "duration": "40.00µs", "nested": { - "CallResultsRepr.deserialize": "11.00µs" + "CallResultsRepr.deserialize": "10.00µs" } }, - "air_parser::parser::air_parser::parse": "49.00µs" + "air_parser::parser::air_parser::parse": "48.00µs" } }, - "runner::execute": "2.83ms", + "runner::execute": "2.73ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "425.00µs", + "duration": "382.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "402.00µs", + "duration": "361.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "366.00µs", + "duration": "326.00µs", "nested": { "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "129.00µs" + "InterpreterData::serialize": "148.00µs" } } } } } }, - "signing_step::sign_produced_cids": "157.00µs", + "signing_step::sign_produced_cids": "96.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "554.00µs", + "duration": "327.00µs", "nested": { - "verify": "30.00µs" + "verify": "26.00µs" } } } } }, - "total_time": "4.51ms" + "total_time": "3.99ms" }, "populate-map-single-key": { "comment": "benchmarking a map insert operation", @@ -5361,65 +5361,65 @@ "stats": { "air::runner::execute_air": { "common_prefix": "air", - "duration": "3.67ms", + "duration": "3.30ms", "nested": { "preparation_step::preparation::parse_data": { "common_prefix": "air_interpreter_data::interpreter_data::InterpreterData", - "duration": "198.00µs", + "duration": "145.00µs", "nested": { - "try_from_slice": "161.00µs" + "try_from_slice": "104.00µs" } }, "preparation_step::preparation::prepare": { "common_prefix": "", - "duration": "261.00µs", + "duration": "209.00µs", "nested": { "air::preparation_step::preparation::make_exec_ctx": { "common_prefix": "air::preparation_step::preparation", - "duration": "40.00µs", + "duration": "41.00µs", "nested": { - "CallResultsRepr.deserialize": "10.00µs" + "CallResultsRepr.deserialize": "11.00µs" } }, - "air_parser::parser::air_parser::parse": "45.00µs" + "air_parser::parser::air_parser::parse": "47.00µs" } }, - "runner::execute": "1.89ms", + "runner::execute": "1.96ms", "runner::farewell": { "common_prefix": "air::farewell_step::outcome", - "duration": "442.00µs", + "duration": "411.00µs", "nested": { "from_success_result": { "common_prefix": "air::farewell_step::outcome", - "duration": "420.00µs", + "duration": "388.00µs", "nested": { "populate_outcome_from_contexts": { "common_prefix": "air::farewell_step::outcome", - "duration": "371.00µs", + "duration": "339.00µs", "nested": { "CallRequestsRepr.serialize": "14.00µs", - "InterpreterData::serialize": "140.00µs" + "InterpreterData::serialize": "163.00µs" } } } } } }, - "signing_step::sign_produced_cids": "154.00µs", + "signing_step::sign_produced_cids": "97.00µs", "verification_step::verify": { "common_prefix": "air_interpreter_data::cid_info", - "duration": "582.00µs", + "duration": "344.00µs", "nested": { - "verify": "60.00µs" + "verify": "39.00µs" } } } } }, - "total_time": "3.67ms" + "total_time": "3.30ms" } }, - "datetime": "2023-12-13 13:12:19.425891+00:00", + "datetime": "2024-01-05 12:16:14.559793+00:00", "features": "check_signatures,gen_signatures", "platform": "Linux-5.15.0-76-generic-x86_64-with-glibc2.29", "version": "0.55.0" diff --git a/benches/PERFORMANCE.txt b/benches/PERFORMANCE.txt index 8d264a6b..7dfde4c3 100644 --- a/benches/PERFORMANCE.txt +++ b/benches/PERFORMANCE.txt @@ -752,688 +752,688 @@ Machine c1f3ea5950db0a10b44da931c25774d64ab25084f47d504f72f311e694550ff1: execute: 29.00µs new: 38.00µs Machine d77ebe8481884bc3b2778c8083f1bf459e548e929edd87041beb14f6b868d35f: - Platform: macOS-14.2-arm64-arm-64bit - Timestamp: 2023-12-13 12:33:17.230462+00:00 + Platform: macOS-14.2.1-arm64-arm-64bit + Timestamp: 2024-01-05 11:54:12.456556+00:00 AquaVM version: 0.55.0 Benches: Features: check_signatures,gen_signatures - big-values-data (13.18ms; 59.000 MiB, 59.000 MiB): Loading a trace with huge values - air::runner::execute_air: 13.18ms - preparation_step::preparation::parse_data: 5.28ms - try_from_slice: 5.24ms - preparation_step::preparation::prepare: 190.00µs - air::preparation_step::preparation::make_exec_ctx: 40.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 28.00µs - runner::execute: 8.00µs - runner::farewell: 3.41ms - from_success_result: 3.39ms - populate_outcome_from_contexts: 3.35ms - CallRequestsRepr.serialize: 16.00µs - InterpreterData::serialize: 2.36ms - signing_step::sign_produced_cids: 100.00µs - verification_step::verify: 4.00ms - verify: 3.64ms - call-requests500 (18.37ms; 55.500 MiB, 55.500 MiB): multiple call requests - air::runner::execute_air: 18.37ms - preparation_step::preparation::parse_data: 145.00µs - try_from_slice: 99.00µs - preparation_step::preparation::prepare: 243.00µs - air::preparation_step::preparation::make_exec_ctx: 44.00µs - CallResultsRepr.deserialize: 18.00µs - air_parser::parser::air_parser::parse: 71.00µs - runner::execute: 16.83ms - runner::farewell: 780.00µs - from_success_result: 759.00µs - populate_outcome_from_contexts: 652.00µs - CallRequestsRepr.serialize: 276.00µs - InterpreterData::serialize: 217.00µs - signing_step::sign_produced_cids: 105.00µs - verification_step::verify: 81.00µs - verify: 10.00µs - call-results500 (14.90ms; 54.438 MiB, 54.438 MiB): multiple call results - air::runner::execute_air: 14.90ms - preparation_step::preparation::parse_data: 611.00µs - try_from_slice: 568.00µs - preparation_step::preparation::prepare: 330.00µs - air::preparation_step::preparation::make_exec_ctx: 136.00µs - CallResultsRepr.deserialize: 107.00µs - air_parser::parser::air_parser::parse: 66.00µs - runner::execute: 11.51ms - runner::farewell: 1.88ms - from_success_result: 1.86ms - populate_outcome_from_contexts: 1.40ms - CallRequestsRepr.serialize: 16.00µs - InterpreterData::serialize: 949.00µs - signing_step::sign_produced_cids: 288.00µs - verification_step::verify: 96.00µs - verify: 9.00µs - canon-map-key-by-lens (10.90ms; 56.625 MiB, 56.625 MiB): benchmarking a map insert operation - air::runner::execute_air: 10.90ms - preparation_step::preparation::parse_data: 3.17ms - try_from_slice: 3.12ms - preparation_step::preparation::prepare: 401.00µs - air::preparation_step::preparation::make_exec_ctx: 210.00µs - CallResultsRepr.deserialize: 11.00µs - air_parser::parser::air_parser::parse: 69.00µs - runner::execute: 1.93ms - runner::farewell: 1.94ms - from_success_result: 1.92ms - populate_outcome_from_contexts: 1.56ms - CallRequestsRepr.serialize: 15.00µs - InterpreterData::serialize: 1.26ms - signing_step::sign_produced_cids: 100.00µs - verification_step::verify: 3.16ms - verify: 2.80ms - canon-map-key-element-by-lens (10.80ms; 56.625 MiB, 56.625 MiB): benchmarking a map insert operation - air::runner::execute_air: 10.80ms - preparation_step::preparation::parse_data: 3.15ms - try_from_slice: 3.10ms - preparation_step::preparation::prepare: 399.00µs - air::preparation_step::preparation::make_exec_ctx: 209.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 70.00µs - runner::execute: 1.92ms - runner::farewell: 1.91ms - from_success_result: 1.89ms - populate_outcome_from_contexts: 1.55ms - CallRequestsRepr.serialize: 16.00µs - InterpreterData::serialize: 1.25ms - signing_step::sign_produced_cids: 100.00µs - verification_step::verify: 3.17ms - verify: 2.80ms - canon-map-multiple-keys (8.88ms; 54.500 MiB, 54.500 MiB): benchmarking a map insert operation - air::runner::execute_air: 8.88ms - preparation_step::preparation::parse_data: 416.00µs - try_from_slice: 372.00µs - preparation_step::preparation::prepare: 218.00µs - air::preparation_step::preparation::make_exec_ctx: 38.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 58.00µs - runner::execute: 5.87ms - runner::farewell: 1.69ms - from_success_result: 1.67ms - populate_outcome_from_contexts: 1.37ms - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 1.08ms - signing_step::sign_produced_cids: 99.00µs - verification_step::verify: 413.00µs - verify: 40.00µs - canon-map-scalar-multiple-keys (4.17ms; 53.125 MiB, 53.125 MiB): benchmarking a map insert operation - air::runner::execute_air: 4.17ms - preparation_step::preparation::parse_data: 414.00µs - try_from_slice: 366.00µs - preparation_step::preparation::prepare: 214.00µs - air::preparation_step::preparation::make_exec_ctx: 38.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 58.00µs - runner::execute: 2.42ms - runner::farewell: 415.00µs - from_success_result: 393.00µs - populate_outcome_from_contexts: 354.00µs - CallRequestsRepr.serialize: 15.00µs - InterpreterData::serialize: 110.00µs - signing_step::sign_produced_cids: 101.00µs - verification_step::verify: 416.00µs - verify: 42.00µs - canon-map-scalar-single-key (3.35ms; 53.000 MiB, 53.000 MiB): benchmarking a map insert operation - air::runner::execute_air: 3.35ms - preparation_step::preparation::parse_data: 410.00µs - try_from_slice: 368.00µs - preparation_step::preparation::prepare: 214.00µs - air::preparation_step::preparation::make_exec_ctx: 38.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 54.00µs - runner::execute: 1.57ms - runner::farewell: 417.00µs - from_success_result: 398.00µs - populate_outcome_from_contexts: 341.00µs - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 121.00µs - signing_step::sign_produced_cids: 100.00µs - verification_step::verify: 448.00µs - verify: 76.00µs - canon-map-single-key (7.45ms; 55.312 MiB, 55.312 MiB): benchmarking a map insert operation - air::runner::execute_air: 7.45ms - preparation_step::preparation::parse_data: 421.00µs - try_from_slice: 376.00µs - preparation_step::preparation::prepare: 208.00µs - air::preparation_step::preparation::make_exec_ctx: 37.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 54.00µs - runner::execute: 4.32ms - runner::farewell: 1.78ms - from_success_result: 1.76ms - populate_outcome_from_contexts: 1.52ms - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 1.25ms - signing_step::sign_produced_cids: 98.00µs - verification_step::verify: 444.00µs - verify: 74.00µs - dashboard (5.75ms; 52.625 MiB, 52.625 MiB): big dashboard test - air::runner::execute_air: 5.75ms - preparation_step::preparation::parse_data: 999.00µs - try_from_slice: 944.00µs - preparation_step::preparation::prepare: 335.00µs - air::preparation_step::preparation::make_exec_ctx: 54.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 161.00µs - runner::execute: 754.00µs - runner::farewell: 519.00µs - from_success_result: 499.00µs - populate_outcome_from_contexts: 454.00µs - CallRequestsRepr.serialize: 20.00µs - InterpreterData::serialize: 232.00µs - signing_step::sign_produced_cids: 101.00µs - verification_step::verify: 2.86ms - verify: 156.00µs - long-data (5.04ms; 53.812 MiB, 53.812 MiB): Long data trace - air::runner::execute_air: 5.04ms - preparation_step::preparation::parse_data: 1.89ms - try_from_slice: 1.84ms - preparation_step::preparation::prepare: 202.00µs - air::preparation_step::preparation::make_exec_ctx: 53.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 27.00µs - runner::execute: 8.00µs - runner::farewell: 963.00µs - from_success_result: 944.00µs - populate_outcome_from_contexts: 908.00µs - CallRequestsRepr.serialize: 16.00µs - InterpreterData::serialize: 414.00µs - signing_step::sign_produced_cids: 99.00µs - verification_step::verify: 1.72ms - verify: 662.00µs - multiple-cids10 (2.63ms; 52.438 MiB, 52.438 MiB): verifying multiple CIDs for single peer - air::runner::execute_air: 2.63ms - preparation_step::preparation::parse_data: 429.00µs - try_from_slice: 374.00µs - preparation_step::preparation::prepare: 223.00µs + big-values-data (7.98ms; 58.062 MiB, 58.062 MiB): Loading a trace with huge values + air::runner::execute_air: 7.98ms + preparation_step::preparation::parse_data: 3.46ms + try_from_slice: 3.41ms + preparation_step::preparation::prepare: 161.00µs air::preparation_step::preparation::make_exec_ctx: 47.00µs CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 56.00µs - runner::execute: 415.00µs - runner::farewell: 383.00µs - from_success_result: 363.00µs - populate_outcome_from_contexts: 311.00µs - CallRequestsRepr.serialize: 13.00µs - InterpreterData::serialize: 134.00µs - signing_step::sign_produced_cids: 101.00µs - verification_step::verify: 901.00µs - verify: 182.00µs - multiple-peers8 (9.56ms; 53.438 MiB, 53.438 MiB): verifying many CIDs for many peers - air::runner::execute_air: 9.56ms - preparation_step::preparation::parse_data: 1.39ms - try_from_slice: 1.33ms - preparation_step::preparation::prepare: 277.00µs - air::preparation_step::preparation::make_exec_ctx: 94.00µs + air_parser::parser::air_parser::parse: 29.00µs + runner::execute: 9.00µs + runner::farewell: 2.59ms + from_success_result: 2.57ms + populate_outcome_from_contexts: 2.53ms + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 2.42ms + signing_step::sign_produced_cids: 62.00µs + verification_step::verify: 1.53ms + verify: 1.34ms + call-requests500 (19.56ms; 57.438 MiB, 57.500 MiB): multiple call requests + air::runner::execute_air: 19.56ms + preparation_step::preparation::parse_data: 133.00µs + try_from_slice: 90.00µs + preparation_step::preparation::prepare: 214.00µs + air::preparation_step::preparation::make_exec_ctx: 51.00µs + CallResultsRepr.deserialize: 20.00µs + air_parser::parser::air_parser::parse: 73.00µs + runner::execute: 18.02ms + runner::farewell: 882.00µs + from_success_result: 861.00µs + populate_outcome_from_contexts: 752.00µs + CallRequestsRepr.serialize: 409.00µs + InterpreterData::serialize: 219.00µs + signing_step::sign_produced_cids: 66.00µs + verification_step::verify: 58.00µs + verify: 11.00µs + call-results500 (16.87ms; 54.562 MiB, 54.562 MiB): multiple call results + air::runner::execute_air: 16.87ms + preparation_step::preparation::parse_data: 594.00µs + try_from_slice: 548.00µs + preparation_step::preparation::prepare: 388.00µs + air::preparation_step::preparation::make_exec_ctx: 223.00µs + CallResultsRepr.deserialize: 190.00µs + air_parser::parser::air_parser::parse: 74.00µs + runner::execute: 13.56ms + runner::farewell: 1.82ms + from_success_result: 1.79ms + populate_outcome_from_contexts: 1.33ms + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 900.00µs + signing_step::sign_produced_cids: 251.00µs + verification_step::verify: 69.00µs + verify: 9.00µs + canon-map-key-by-lens (10.73ms; 56.750 MiB, 56.750 MiB): benchmarking a map insert operation + air::runner::execute_air: 10.73ms + preparation_step::preparation::parse_data: 3.00ms + try_from_slice: 2.96ms + preparation_step::preparation::prepare: 389.00µs + air::preparation_step::preparation::make_exec_ctx: 218.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 83.00µs + runner::execute: 2.34ms + runner::farewell: 1.89ms + from_success_result: 1.87ms + populate_outcome_from_contexts: 1.55ms + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 1.26ms + signing_step::sign_produced_cids: 62.00µs + verification_step::verify: 2.87ms + verify: 2.67ms + canon-map-key-element-by-lens (10.67ms; 56.688 MiB, 56.688 MiB): benchmarking a map insert operation + air::runner::execute_air: 10.67ms + preparation_step::preparation::parse_data: 3.00ms + try_from_slice: 2.96ms + preparation_step::preparation::prepare: 381.00µs + air::preparation_step::preparation::make_exec_ctx: 218.00µs + CallResultsRepr.deserialize: 11.00µs + air_parser::parser::air_parser::parse: 76.00µs + runner::execute: 2.30ms + runner::farewell: 1.87ms + from_success_result: 1.85ms + populate_outcome_from_contexts: 1.55ms + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 1.27ms + signing_step::sign_produced_cids: 62.00µs + verification_step::verify: 2.88ms + verify: 2.67ms + canon-map-multiple-keys (9.36ms; 54.562 MiB, 54.562 MiB): benchmarking a map insert operation + air::runner::execute_air: 9.36ms + preparation_step::preparation::parse_data: 405.00µs + try_from_slice: 358.00µs + preparation_step::preparation::prepare: 195.00µs + air::preparation_step::preparation::make_exec_ctx: 44.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 65.00µs + runner::execute: 6.59ms + runner::farewell: 1.68ms + from_success_result: 1.66ms + populate_outcome_from_contexts: 1.37ms + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 1.09ms + signing_step::sign_produced_cids: 63.00µs + verification_step::verify: 244.00µs + verify: 40.00µs + canon-map-scalar-multiple-keys (3.92ms; 53.125 MiB, 53.125 MiB): benchmarking a map insert operation + air::runner::execute_air: 3.92ms + preparation_step::preparation::parse_data: 407.00µs + try_from_slice: 361.00µs + preparation_step::preparation::prepare: 190.00µs + air::preparation_step::preparation::make_exec_ctx: 43.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 63.00µs + runner::execute: 2.46ms + runner::farewell: 374.00µs + from_success_result: 355.00µs + populate_outcome_from_contexts: 318.00µs + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 114.00µs + signing_step::sign_produced_cids: 63.00µs + verification_step::verify: 243.00µs + verify: 39.00µs + canon-map-scalar-single-key (3.12ms; 53.062 MiB, 53.062 MiB): benchmarking a map insert operation + air::runner::execute_air: 3.12ms + preparation_step::preparation::parse_data: 400.00µs + try_from_slice: 354.00µs + preparation_step::preparation::prepare: 186.00µs + air::preparation_step::preparation::make_exec_ctx: 42.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 60.00µs + runner::execute: 1.66ms + runner::farewell: 379.00µs + from_success_result: 360.00µs + populate_outcome_from_contexts: 306.00µs + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 120.00µs + signing_step::sign_produced_cids: 63.00µs + verification_step::verify: 256.00µs + verify: 55.00µs + canon-map-single-key (7.84ms; 55.375 MiB, 55.375 MiB): benchmarking a map insert operation + air::runner::execute_air: 7.84ms + preparation_step::preparation::parse_data: 398.00µs + try_from_slice: 351.00µs + preparation_step::preparation::prepare: 189.00µs + air::preparation_step::preparation::make_exec_ctx: 43.00µs CallResultsRepr.deserialize: 10.00µs air_parser::parser::air_parser::parse: 62.00µs - runner::execute: 2.65ms - runner::farewell: 978.00µs - from_success_result: 959.00µs - populate_outcome_from_contexts: 856.00µs - CallRequestsRepr.serialize: 13.00µs - InterpreterData::serialize: 582.00µs - signing_step::sign_produced_cids: 106.00µs - verification_step::verify: 3.98ms - verify: 743.00µs - multiple-sigs30 (17.48ms; 56.188 MiB, 56.188 MiB): signing multiple CIDs - air::runner::execute_air: 17.48ms - preparation_step::preparation::parse_data: 3.95ms - try_from_slice: 3.90ms - preparation_step::preparation::prepare: 350.00µs - air::preparation_step::preparation::make_exec_ctx: 172.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 59.00µs - runner::execute: 6.93ms - runner::farewell: 2.63ms - from_success_result: 2.61ms - populate_outcome_from_contexts: 2.43ms + runner::execute: 4.98ms + runner::farewell: 1.77ms + from_success_result: 1.75ms + populate_outcome_from_contexts: 1.51ms CallRequestsRepr.serialize: 12.00µs - InterpreterData::serialize: 1.57ms - signing_step::sign_produced_cids: 444.00µs - verification_step::verify: 2.98ms - verify: 1.28ms - network-explore (3.15ms; 52.375 MiB, 52.375 MiB): 5 peers of network are discovered - air::runner::execute_air: 3.15ms - preparation_step::preparation::parse_data: 484.00µs - try_from_slice: 430.00µs - preparation_step::preparation::prepare: 236.00µs - air::preparation_step::preparation::make_exec_ctx: 41.00µs + InterpreterData::serialize: 1.26ms + signing_step::sign_produced_cids: 62.00µs + verification_step::verify: 254.00µs + verify: 53.00µs + dashboard (4.17ms; 52.625 MiB, 52.625 MiB): big dashboard test + air::runner::execute_air: 4.17ms + preparation_step::preparation::parse_data: 798.00µs + try_from_slice: 737.00µs + preparation_step::preparation::prepare: 308.00µs + air::preparation_step::preparation::make_exec_ctx: 56.00µs CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 77.00µs - runner::execute: 138.00µs - runner::farewell: 315.00µs - from_success_result: 294.00µs - populate_outcome_from_contexts: 253.00µs - CallRequestsRepr.serialize: 13.00µs - InterpreterData::serialize: 92.00µs - signing_step::sign_produced_cids: 101.00µs - verification_step::verify: 1.69ms - verify: 64.00µs - null (829.00µs; 52.375 MiB, 52.375 MiB): Empty data and null script - air::runner::execute_air: 829.00µs - preparation_step::preparation::parse_data: 24.00µs - preparation_step::preparation::prepare: 206.00µs - air::preparation_step::preparation::make_exec_ctx: 40.00µs - CallResultsRepr.deserialize: 11.00µs - air_parser::parser::air_parser::parse: 35.00µs + air_parser::parser::air_parser::parse: 167.00µs + runner::execute: 776.00µs + runner::farewell: 495.00µs + from_success_result: 475.00µs + populate_outcome_from_contexts: 432.00µs + CallRequestsRepr.serialize: 22.00µs + InterpreterData::serialize: 238.00µs + signing_step::sign_produced_cids: 65.00µs + verification_step::verify: 1.54ms + verify: 150.00µs + long-data (3.72ms; 53.000 MiB, 53.000 MiB): Long data trace + air::runner::execute_air: 3.72ms + preparation_step::preparation::parse_data: 1.38ms + try_from_slice: 1.34ms + preparation_step::preparation::prepare: 173.00µs + air::preparation_step::preparation::make_exec_ctx: 59.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 29.00µs runner::execute: 9.00µs - runner::farewell: 242.00µs - from_success_result: 223.00µs - populate_outcome_from_contexts: 186.00µs - CallRequestsRepr.serialize: 16.00µs + runner::farewell: 687.00µs + from_success_result: 667.00µs + populate_outcome_from_contexts: 630.00µs + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 434.00µs + signing_step::sign_produced_cids: 63.00µs + verification_step::verify: 1.22ms + verify: 332.00µs + multiple-cids10 (2.19ms; 52.500 MiB, 52.500 MiB): verifying multiple CIDs for single peer + air::runner::execute_air: 2.19ms + preparation_step::preparation::parse_data: 397.00µs + try_from_slice: 340.00µs + preparation_step::preparation::prepare: 202.00µs + air::preparation_step::preparation::make_exec_ctx: 52.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 64.00µs + runner::execute: 414.00µs + runner::farewell: 359.00µs + from_success_result: 338.00µs + populate_outcome_from_contexts: 289.00µs + CallRequestsRepr.serialize: 14.00µs + InterpreterData::serialize: 145.00µs + signing_step::sign_produced_cids: 63.00µs + verification_step::verify: 577.00µs + verify: 186.00µs + multiple-peers8 (7.75ms; 53.438 MiB, 53.438 MiB): verifying many CIDs for many peers + air::runner::execute_air: 7.75ms + preparation_step::preparation::parse_data: 1.24ms + try_from_slice: 1.18ms + preparation_step::preparation::prepare: 250.00µs + air::preparation_step::preparation::make_exec_ctx: 96.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 69.00µs + runner::execute: 2.63ms + runner::farewell: 946.00µs + from_success_result: 925.00µs + populate_outcome_from_contexts: 824.00µs + CallRequestsRepr.serialize: 13.00µs + InterpreterData::serialize: 588.00µs + signing_step::sign_produced_cids: 63.00µs + verification_step::verify: 2.45ms + verify: 766.00µs + multiple-sigs30 (17.05ms; 56.188 MiB, 56.188 MiB): signing multiple CIDs + air::runner::execute_air: 17.05ms + preparation_step::preparation::parse_data: 3.88ms + try_from_slice: 3.83ms + preparation_step::preparation::prepare: 326.00µs + air::preparation_step::preparation::make_exec_ctx: 173.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 69.00µs + runner::execute: 6.97ms + runner::farewell: 2.62ms + from_success_result: 2.60ms + populate_outcome_from_contexts: 2.42ms + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 1.59ms + signing_step::sign_produced_cids: 406.00µs + verification_step::verify: 2.67ms + verify: 1.31ms + network-explore (2.12ms; 52.375 MiB, 52.375 MiB): 5 peers of network are discovered + air::runner::execute_air: 2.12ms + preparation_step::preparation::parse_data: 372.00µs + try_from_slice: 314.00µs + preparation_step::preparation::prepare: 211.00µs + air::preparation_step::preparation::make_exec_ctx: 45.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 82.00µs + runner::execute: 153.00µs + runner::farewell: 278.00µs + from_success_result: 259.00µs + populate_outcome_from_contexts: 220.00µs + CallRequestsRepr.serialize: 13.00µs + InterpreterData::serialize: 93.00µs + signing_step::sign_produced_cids: 65.00µs + verification_step::verify: 867.00µs + verify: 63.00µs + null (715.00µs; 52.375 MiB, 52.375 MiB): Empty data and null script + air::runner::execute_air: 715.00µs + preparation_step::preparation::parse_data: 20.00µs + preparation_step::preparation::prepare: 182.00µs + air::preparation_step::preparation::make_exec_ctx: 44.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 37.00µs + runner::execute: 9.00µs + runner::farewell: 207.00µs + from_success_result: 187.00µs + populate_outcome_from_contexts: 145.00µs + CallRequestsRepr.serialize: 12.00µs InterpreterData::serialize: 31.00µs - signing_step::sign_produced_cids: 109.00µs - verification_step::verify: 47.00µs - verify: 10.00µs - parser-10000-100 (23.30ms; 54.625 MiB, 54.625 MiB): long air script with lot of variable assignments - air::runner::execute_air: 23.30ms - preparation_step::preparation::parse_data: 25.00µs - preparation_step::preparation::prepare: 21.75ms - air::preparation_step::preparation::make_exec_ctx: 37.00µs - CallResultsRepr.deserialize: 11.00µs - air_parser::parser::air_parser::parse: 21.58ms - runner::execute: 36.00µs - runner::farewell: 247.00µs - from_success_result: 227.00µs - populate_outcome_from_contexts: 190.00µs - CallRequestsRepr.serialize: 16.00µs + signing_step::sign_produced_cids: 70.00µs + verification_step::verify: 40.00µs + verify: 12.00µs + parser-10000-100 (24.65ms; 54.625 MiB, 54.625 MiB): long air script with lot of variable assignments + air::runner::execute_air: 24.65ms + preparation_step::preparation::parse_data: 20.00µs + preparation_step::preparation::prepare: 23.19ms + air::preparation_step::preparation::make_exec_ctx: 46.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 23.04ms + runner::execute: 50.00µs + runner::farewell: 208.00µs + from_success_result: 188.00µs + populate_outcome_from_contexts: 152.00µs + CallRequestsRepr.serialize: 12.00µs InterpreterData::serialize: 35.00µs - signing_step::sign_produced_cids: 108.00µs - verification_step::verify: 49.00µs - verify: 10.00µs - parser-calls-10000-100 (22.94ms; 54.375 MiB, 54.375 MiB): multiple calls parser benchmark - air::runner::execute_air: 22.94ms - preparation_step::preparation::parse_data: 25.00µs - preparation_step::preparation::prepare: 21.20ms - air::preparation_step::preparation::make_exec_ctx: 40.00µs + signing_step::sign_produced_cids: 67.00µs + verification_step::verify: 41.00µs + verify: 11.00µs + parser-calls-10000-100 (23.36ms; 54.375 MiB, 54.375 MiB): multiple calls parser benchmark + air::runner::execute_air: 23.36ms + preparation_step::preparation::parse_data: 20.00µs + preparation_step::preparation::prepare: 21.67ms + air::preparation_step::preparation::make_exec_ctx: 46.00µs CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 21.00ms - runner::execute: 35.00µs - runner::farewell: 251.00µs - from_success_result: 231.00µs - populate_outcome_from_contexts: 191.00µs - CallRequestsRepr.serialize: 16.00µs - InterpreterData::serialize: 35.00µs - signing_step::sign_produced_cids: 109.00µs - verification_step::verify: 46.00µs - verify: 10.00µs - populate-map-multiple-keys (3.61ms; 53.000 MiB, 53.000 MiB): benchmarking a map insert operation - air::runner::execute_air: 3.61ms - preparation_step::preparation::parse_data: 158.00µs - try_from_slice: 113.00µs - preparation_step::preparation::prepare: 225.00µs - air::preparation_step::preparation::make_exec_ctx: 39.00µs + air_parser::parser::air_parser::parse: 21.53ms + runner::execute: 50.00µs + runner::farewell: 212.00µs + from_success_result: 192.00µs + populate_outcome_from_contexts: 154.00µs + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 36.00µs + signing_step::sign_produced_cids: 68.00µs + verification_step::verify: 37.00µs + verify: 11.00µs + populate-map-multiple-keys (3.25ms; 53.000 MiB, 53.000 MiB): benchmarking a map insert operation + air::runner::execute_air: 3.25ms + preparation_step::preparation::parse_data: 152.00µs + try_from_slice: 106.00µs + preparation_step::preparation::prepare: 193.00µs + air::preparation_step::preparation::make_exec_ctx: 42.00µs CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 61.00µs - runner::execute: 2.18ms - runner::farewell: 357.00µs - from_success_result: 336.00µs - populate_outcome_from_contexts: 297.00µs - CallRequestsRepr.serialize: 16.00µs - InterpreterData::serialize: 108.00µs - signing_step::sign_produced_cids: 103.00µs - verification_step::verify: 409.00µs - verify: 40.00µs - populate-map-single-key (2.87ms; 52.938 MiB, 52.938 MiB): benchmarking a map insert operation - air::runner::execute_air: 2.87ms - preparation_step::preparation::parse_data: 216.00µs - try_from_slice: 172.00µs - preparation_step::preparation::prepare: 220.00µs - air::preparation_step::preparation::make_exec_ctx: 40.00µs + air_parser::parser::air_parser::parse: 67.00µs + runner::execute: 2.11ms + runner::farewell: 308.00µs + from_success_result: 288.00µs + populate_outcome_from_contexts: 254.00µs + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 107.00µs + signing_step::sign_produced_cids: 62.00µs + verification_step::verify: 236.00µs + verify: 42.00µs + populate-map-single-key (2.58ms; 52.938 MiB, 52.938 MiB): benchmarking a map insert operation + air::runner::execute_air: 2.58ms + preparation_step::preparation::parse_data: 197.00µs + try_from_slice: 153.00µs + preparation_step::preparation::prepare: 192.00µs + air::preparation_step::preparation::make_exec_ctx: 42.00µs CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 57.00µs - runner::execute: 1.33ms - runner::farewell: 379.00µs - from_success_result: 359.00µs - populate_outcome_from_contexts: 302.00µs - CallRequestsRepr.serialize: 16.00µs - InterpreterData::serialize: 121.00µs - signing_step::sign_produced_cids: 102.00µs - verification_step::verify: 442.00µs - verify: 76.00µs + air_parser::parser::air_parser::parse: 64.00µs + runner::execute: 1.37ms + runner::farewell: 329.00µs + from_success_result: 308.00µs + populate_outcome_from_contexts: 254.00µs + CallRequestsRepr.serialize: 12.00µs + InterpreterData::serialize: 117.00µs + signing_step::sign_produced_cids: 63.00µs + verification_step::verify: 245.00µs + verify: 52.00µs Machine e536f8eaae8c978493a773ba566ae3393e2e6240d6ea8e05b5ca1b8f77e9c441: Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.29 - Timestamp: 2023-12-13 13:12:19.425891+00:00 + Timestamp: 2024-01-05 12:16:14.559793+00:00 AquaVM version: 0.55.0 Benches: Features: check_signatures,gen_signatures - big-values-data (17.75ms; 59.000 MiB, 59.000 MiB): Loading a trace with huge values - air::runner::execute_air: 17.75ms - preparation_step::preparation::parse_data: 7.14ms - try_from_slice: 7.09ms - preparation_step::preparation::prepare: 240.00µs - air::preparation_step::preparation::make_exec_ctx: 44.00µs + big-values-data (10.53ms; 58.062 MiB, 58.062 MiB): Loading a trace with huge values + air::runner::execute_air: 10.53ms + preparation_step::preparation::parse_data: 3.67ms + try_from_slice: 3.63ms + preparation_step::preparation::prepare: 186.00µs + air::preparation_step::preparation::make_exec_ctx: 45.00µs CallResultsRepr.deserialize: 11.00µs - air_parser::parser::air_parser::parse: 19.00µs - runner::execute: 9.00µs - runner::farewell: 4.82ms - from_success_result: 4.80ms - populate_outcome_from_contexts: 4.76ms - CallRequestsRepr.serialize: 15.00µs - InterpreterData::serialize: 3.62ms - signing_step::sign_produced_cids: 156.00µs - verification_step::verify: 5.26ms - verify: 4.72ms - call-requests500 (21.87ms; 55.500 MiB, 55.500 MiB): multiple call requests - air::runner::execute_air: 21.87ms - preparation_step::preparation::parse_data: 117.00µs - try_from_slice: 80.00µs - preparation_step::preparation::prepare: 272.00µs - air::preparation_step::preparation::make_exec_ctx: 41.00µs - CallResultsRepr.deserialize: 14.00µs + air_parser::parser::air_parser::parse: 20.00µs + runner::execute: 10.00µs + runner::farewell: 4.43ms + from_success_result: 4.41ms + populate_outcome_from_contexts: 4.38ms + CallRequestsRepr.serialize: 16.00µs + InterpreterData::serialize: 4.20ms + signing_step::sign_produced_cids: 96.00µs + verification_step::verify: 2.00ms + verify: 1.68ms + call-requests500 (23.00ms; 57.500 MiB, 57.500 MiB): multiple call requests + air::runner::execute_air: 23.00ms + preparation_step::preparation::parse_data: 103.00µs + try_from_slice: 65.00µs + preparation_step::preparation::prepare: 215.00µs + air::preparation_step::preparation::make_exec_ctx: 42.00µs + CallResultsRepr.deserialize: 15.00µs air_parser::parser::air_parser::parse: 49.00µs - runner::execute: 19.81ms - runner::farewell: 1.30ms - from_success_result: 1.28ms - populate_outcome_from_contexts: 1.16ms - CallRequestsRepr.serialize: 621.00µs - InterpreterData::serialize: 332.00µs - signing_step::sign_produced_cids: 160.00µs - verification_step::verify: 81.00µs - verify: 12.00µs - call-results500 (18.92ms; 54.438 MiB, 54.438 MiB): multiple call results - air::runner::execute_air: 18.92ms - preparation_step::preparation::parse_data: 664.00µs - try_from_slice: 624.00µs - preparation_step::preparation::prepare: 394.00µs - air::preparation_step::preparation::make_exec_ctx: 162.00µs - CallResultsRepr.deserialize: 132.00µs - air_parser::parser::air_parser::parse: 50.00µs - runner::execute: 14.93ms - runner::farewell: 2.27ms - from_success_result: 2.25ms - populate_outcome_from_contexts: 1.87ms - CallRequestsRepr.serialize: 15.00µs - InterpreterData::serialize: 1.30ms - signing_step::sign_produced_cids: 434.00µs - verification_step::verify: 84.00µs + runner::execute: 20.74ms + runner::farewell: 1.64ms + from_success_result: 1.62ms + populate_outcome_from_contexts: 1.50ms + CallRequestsRepr.serialize: 1.00ms + InterpreterData::serialize: 336.00µs + signing_step::sign_produced_cids: 100.00µs + verification_step::verify: 64.00µs verify: 10.00µs - canon-map-key-by-lens (14.93ms; 56.625 MiB, 56.625 MiB): benchmarking a map insert operation - air::runner::execute_air: 14.93ms - preparation_step::preparation::parse_data: 4.07ms - try_from_slice: 4.03ms - preparation_step::preparation::prepare: 552.00µs - air::preparation_step::preparation::make_exec_ctx: 318.00µs + call-results500 (20.12ms; 54.500 MiB, 54.562 MiB): multiple call results + air::runner::execute_air: 20.12ms + preparation_step::preparation::parse_data: 620.00µs + try_from_slice: 580.00µs + preparation_step::preparation::prepare: 417.00µs + air::preparation_step::preparation::make_exec_ctx: 239.00µs + CallResultsRepr.deserialize: 210.00µs + air_parser::parser::air_parser::parse: 51.00µs + runner::execute: 16.11ms + runner::farewell: 2.40ms + from_success_result: 2.38ms + populate_outcome_from_contexts: 1.98ms + CallRequestsRepr.serialize: 14.00µs + InterpreterData::serialize: 1.45ms + signing_step::sign_produced_cids: 369.00µs + verification_step::verify: 67.00µs + verify: 10.00µs + canon-map-key-by-lens (14.68ms; 56.750 MiB, 56.750 MiB): benchmarking a map insert operation + air::runner::execute_air: 14.68ms + preparation_step::preparation::parse_data: 3.75ms + try_from_slice: 3.70ms + preparation_step::preparation::prepare: 485.00µs + air::preparation_step::preparation::make_exec_ctx: 308.00µs CallResultsRepr.deserialize: 11.00µs air_parser::parser::air_parser::parse: 56.00µs - runner::execute: 2.76ms - runner::farewell: 2.81ms - from_success_result: 2.79ms - populate_outcome_from_contexts: 2.44ms - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 2.05ms - signing_step::sign_produced_cids: 157.00µs - verification_step::verify: 4.43ms - verify: 3.90ms - canon-map-key-element-by-lens (15.00ms; 56.625 MiB, 56.625 MiB): benchmarking a map insert operation - air::runner::execute_air: 15.00ms - preparation_step::preparation::parse_data: 4.08ms - try_from_slice: 4.03ms - preparation_step::preparation::prepare: 557.00µs - air::preparation_step::preparation::make_exec_ctx: 316.00µs - CallResultsRepr.deserialize: 11.00µs - air_parser::parser::air_parser::parse: 57.00µs - runner::execute: 2.77ms + runner::execute: 3.32ms runner::farewell: 2.83ms from_success_result: 2.81ms - populate_outcome_from_contexts: 2.47ms + populate_outcome_from_contexts: 2.48ms CallRequestsRepr.serialize: 15.00µs - InterpreterData::serialize: 2.08ms - signing_step::sign_produced_cids: 158.00µs - verification_step::verify: 4.44ms - verify: 3.91ms - canon-map-multiple-keys (12.45ms; 54.500 MiB, 54.500 MiB): benchmarking a map insert operation - air::runner::execute_air: 12.45ms - preparation_step::preparation::parse_data: 350.00µs - try_from_slice: 309.00µs - preparation_step::preparation::prepare: 273.00µs - air::preparation_step::preparation::make_exec_ctx: 43.00µs - CallResultsRepr.deserialize: 12.00µs - air_parser::parser::air_parser::parse: 47.00µs - runner::execute: 8.62ms - runner::farewell: 2.35ms - from_success_result: 2.33ms - populate_outcome_from_contexts: 2.04ms + InterpreterData::serialize: 2.13ms + signing_step::sign_produced_cids: 99.00µs + verification_step::verify: 4.07ms + verify: 3.76ms + canon-map-key-element-by-lens (14.64ms; 56.688 MiB, 56.688 MiB): benchmarking a map insert operation + air::runner::execute_air: 14.64ms + preparation_step::preparation::parse_data: 3.78ms + try_from_slice: 3.74ms + preparation_step::preparation::prepare: 490.00µs + air::preparation_step::preparation::make_exec_ctx: 307.00µs + CallResultsRepr.deserialize: 11.00µs + air_parser::parser::air_parser::parse: 59.00µs + runner::execute: 3.27ms + runner::farewell: 2.82ms + from_success_result: 2.80ms + populate_outcome_from_contexts: 2.49ms CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 1.69ms - signing_step::sign_produced_cids: 160.00µs - verification_step::verify: 557.00µs - verify: 28.00µs - canon-map-scalar-multiple-keys (5.23ms; 53.125 MiB, 53.125 MiB): benchmarking a map insert operation - air::runner::execute_air: 5.23ms - preparation_step::preparation::parse_data: 348.00µs - try_from_slice: 309.00µs - preparation_step::preparation::prepare: 264.00µs + InterpreterData::serialize: 2.12ms + signing_step::sign_produced_cids: 98.00µs + verification_step::verify: 4.04ms + verify: 3.74ms + canon-map-multiple-keys (12.57ms; 54.562 MiB, 54.562 MiB): benchmarking a map insert operation + air::runner::execute_air: 12.57ms + preparation_step::preparation::parse_data: 342.00µs + try_from_slice: 304.00µs + preparation_step::preparation::prepare: 205.00µs + air::preparation_step::preparation::make_exec_ctx: 40.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 47.00µs + runner::execute: 9.07ms + runner::farewell: 2.40ms + from_success_result: 2.38ms + populate_outcome_from_contexts: 2.09ms + CallRequestsRepr.serialize: 13.00µs + InterpreterData::serialize: 1.77ms + signing_step::sign_produced_cids: 96.00µs + verification_step::verify: 331.00µs + verify: 26.00µs + canon-map-scalar-multiple-keys (4.82ms; 53.125 MiB, 53.125 MiB): benchmarking a map insert operation + air::runner::execute_air: 4.82ms + preparation_step::preparation::parse_data: 342.00µs + try_from_slice: 302.00µs + preparation_step::preparation::prepare: 206.00µs air::preparation_step::preparation::make_exec_ctx: 41.00µs CallResultsRepr.deserialize: 10.00µs air_parser::parser::air_parser::parse: 46.00µs - runner::execute: 3.29ms - runner::farewell: 485.00µs - from_success_result: 463.00µs - populate_outcome_from_contexts: 425.00µs + runner::execute: 3.25ms + runner::farewell: 457.00µs + from_success_result: 434.00µs + populate_outcome_from_contexts: 396.00µs CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 131.00µs - signing_step::sign_produced_cids: 156.00µs - verification_step::verify: 555.00µs - verify: 28.00µs - canon-map-scalar-single-key (4.28ms; 53.000 MiB, 53.000 MiB): benchmarking a map insert operation - air::runner::execute_air: 4.28ms - preparation_step::preparation::parse_data: 379.00µs - try_from_slice: 341.00µs - preparation_step::preparation::prepare: 259.00µs + InterpreterData::serialize: 155.00µs + signing_step::sign_produced_cids: 99.00µs + verification_step::verify: 334.00µs + verify: 27.00µs + canon-map-scalar-single-key (3.93ms; 53.062 MiB, 53.062 MiB): benchmarking a map insert operation + air::runner::execute_air: 3.93ms + preparation_step::preparation::parse_data: 323.00µs + try_from_slice: 284.00µs + preparation_step::preparation::prepare: 199.00µs + air::preparation_step::preparation::make_exec_ctx: 39.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 42.00µs + runner::execute: 2.39ms + runner::farewell: 456.00µs + from_success_result: 434.00µs + populate_outcome_from_contexts: 386.00µs + CallRequestsRepr.serialize: 14.00µs + InterpreterData::serialize: 163.00µs + signing_step::sign_produced_cids: 96.00µs + verification_step::verify: 344.00µs + verify: 39.00µs + canon-map-single-key (10.94ms; 55.375 MiB, 55.375 MiB): benchmarking a map insert operation + air::runner::execute_air: 10.94ms + preparation_step::preparation::parse_data: 326.00µs + try_from_slice: 287.00µs + preparation_step::preparation::prepare: 204.00µs air::preparation_step::preparation::make_exec_ctx: 40.00µs CallResultsRepr.deserialize: 10.00µs air_parser::parser::air_parser::parse: 43.00µs - runner::execute: 2.29ms - runner::farewell: 486.00µs - from_success_result: 464.00µs - populate_outcome_from_contexts: 414.00µs - CallRequestsRepr.serialize: 13.00µs - InterpreterData::serialize: 140.00µs - signing_step::sign_produced_cids: 156.00µs - verification_step::verify: 587.00µs - verify: 60.00µs - canon-map-single-key (10.71ms; 55.312 MiB, 55.312 MiB): benchmarking a map insert operation - air::runner::execute_air: 10.71ms - preparation_step::preparation::parse_data: 372.00µs - try_from_slice: 335.00µs - preparation_step::preparation::prepare: 258.00µs - air::preparation_step::preparation::make_exec_ctx: 40.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 42.00µs - runner::execute: 6.56ms - runner::farewell: 2.64ms - from_success_result: 2.61ms - populate_outcome_from_contexts: 2.38ms - CallRequestsRepr.serialize: 13.00µs - InterpreterData::serialize: 2.06ms - signing_step::sign_produced_cids: 155.00µs - verification_step::verify: 593.00µs - verify: 61.00µs - dashboard (8.33ms; 52.625 MiB, 52.625 MiB): big dashboard test - air::runner::execute_air: 8.33ms - preparation_step::preparation::parse_data: 1.31ms - try_from_slice: 1.26ms - preparation_step::preparation::prepare: 366.00µs + runner::execute: 7.07ms + runner::farewell: 2.76ms + from_success_result: 2.73ms + populate_outcome_from_contexts: 2.49ms + CallRequestsRepr.serialize: 14.00µs + InterpreterData::serialize: 2.19ms + signing_step::sign_produced_cids: 98.00µs + verification_step::verify: 344.00µs + verify: 39.00µs + dashboard (6.02ms; 52.625 MiB, 52.625 MiB): big dashboard test + air::runner::execute_air: 6.02ms + preparation_step::preparation::parse_data: 1.03ms + try_from_slice: 974.00µs + preparation_step::preparation::prepare: 319.00µs air::preparation_step::preparation::make_exec_ctx: 63.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 128.00µs - runner::execute: 1.07ms - runner::farewell: 699.00µs - from_success_result: 678.00µs - populate_outcome_from_contexts: 634.00µs - CallRequestsRepr.serialize: 18.00µs - InterpreterData::serialize: 364.00µs - signing_step::sign_produced_cids: 158.00µs - verification_step::verify: 4.58ms - verify: 192.00µs - long-data (6.46ms; 53.812 MiB, 53.812 MiB): Long data trace - air::runner::execute_air: 6.46ms - preparation_step::preparation::parse_data: 2.43ms - try_from_slice: 2.39ms - preparation_step::preparation::prepare: 260.00µs + CallResultsRepr.deserialize: 11.00µs + air_parser::parser::air_parser::parse: 132.00µs + runner::execute: 1.11ms + runner::farewell: 670.00µs + from_success_result: 647.00µs + populate_outcome_from_contexts: 600.00µs + CallRequestsRepr.serialize: 24.00µs + InterpreterData::serialize: 372.00µs + signing_step::sign_produced_cids: 101.00µs + verification_step::verify: 2.65ms + verify: 181.00µs + long-data (4.59ms; 53.000 MiB, 53.000 MiB): Long data trace + air::runner::execute_air: 4.59ms + preparation_step::preparation::parse_data: 1.53ms + try_from_slice: 1.48ms + preparation_step::preparation::prepare: 204.00µs air::preparation_step::preparation::make_exec_ctx: 65.00µs CallResultsRepr.deserialize: 11.00µs + air_parser::parser::air_parser::parse: 20.00µs + runner::execute: 9.00µs + runner::farewell: 939.00µs + from_success_result: 917.00µs + populate_outcome_from_contexts: 881.00µs + CallRequestsRepr.serialize: 14.00µs + InterpreterData::serialize: 676.00µs + signing_step::sign_produced_cids: 95.00µs + verification_step::verify: 1.68ms + verify: 423.00µs + multiple-cids10 (2.75ms; 52.500 MiB, 52.500 MiB): verifying multiple CIDs for single peer + air::runner::execute_air: 2.75ms + preparation_step::preparation::parse_data: 420.00µs + try_from_slice: 367.00µs + preparation_step::preparation::prepare: 214.00µs + air::preparation_step::preparation::make_exec_ctx: 52.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 44.00µs + runner::execute: 556.00µs + runner::farewell: 465.00µs + from_success_result: 443.00µs + populate_outcome_from_contexts: 392.00µs + CallRequestsRepr.serialize: 15.00µs + InterpreterData::serialize: 215.00µs + signing_step::sign_produced_cids: 95.00µs + verification_step::verify: 872.00µs + verify: 227.00µs + multiple-peers8 (11.11ms; 53.438 MiB, 53.438 MiB): verifying many CIDs for many peers + air::runner::execute_air: 11.11ms + preparation_step::preparation::parse_data: 1.60ms + try_from_slice: 1.54ms + preparation_step::preparation::prepare: 295.00µs + air::preparation_step::preparation::make_exec_ctx: 124.00µs + CallResultsRepr.deserialize: 11.00µs + air_parser::parser::air_parser::parse: 51.00µs + runner::execute: 3.65ms + runner::farewell: 1.32ms + from_success_result: 1.30ms + populate_outcome_from_contexts: 1.20ms + CallRequestsRepr.serialize: 15.00µs + InterpreterData::serialize: 950.00µs + signing_step::sign_produced_cids: 97.00µs + verification_step::verify: 4.01ms + verify: 1.05ms + multiple-sigs30 (24.02ms; 56.188 MiB, 56.188 MiB): signing multiple CIDs + air::runner::execute_air: 24.02ms + preparation_step::preparation::parse_data: 4.87ms + try_from_slice: 4.81ms + preparation_step::preparation::prepare: 405.00µs + air::preparation_step::preparation::make_exec_ctx: 238.00µs + CallResultsRepr.deserialize: 11.00µs + air_parser::parser::air_parser::parse: 49.00µs + runner::execute: 10.45ms + runner::farewell: 3.71ms + from_success_result: 3.69ms + populate_outcome_from_contexts: 3.51ms + CallRequestsRepr.serialize: 14.00µs + InterpreterData::serialize: 2.59ms + signing_step::sign_produced_cids: 591.00µs + verification_step::verify: 3.83ms + verify: 1.79ms + network-explore (2.96ms; 52.375 MiB, 52.375 MiB): 5 peers of network are discovered + air::runner::execute_air: 2.96ms + preparation_step::preparation::parse_data: 431.00µs + try_from_slice: 376.00µs + preparation_step::preparation::prepare: 234.00µs + air::preparation_step::preparation::make_exec_ctx: 44.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 70.00µs + runner::execute: 164.00µs + runner::farewell: 393.00µs + from_success_result: 372.00µs + populate_outcome_from_contexts: 331.00µs + CallRequestsRepr.serialize: 15.00µs + InterpreterData::serialize: 162.00µs + signing_step::sign_produced_cids: 98.00µs + verification_step::verify: 1.50ms + verify: 60.00µs + null (715.00µs; 52.375 MiB, 52.375 MiB): Empty data and null script + air::runner::execute_air: 715.00µs + preparation_step::preparation::parse_data: 17.00µs + preparation_step::preparation::prepare: 186.00µs + air::preparation_step::preparation::make_exec_ctx: 38.00µs + CallResultsRepr.deserialize: 11.00µs air_parser::parser::air_parser::parse: 19.00µs runner::execute: 9.00µs - runner::farewell: 1.17ms - from_success_result: 1.15ms - populate_outcome_from_contexts: 1.11ms - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 547.00µs - signing_step::sign_produced_cids: 156.00µs - verification_step::verify: 2.30ms - verify: 827.00µs - multiple-cids10 (3.43ms; 52.438 MiB, 52.438 MiB): verifying multiple CIDs for single peer - air::runner::execute_air: 3.43ms - preparation_step::preparation::parse_data: 466.00µs - try_from_slice: 416.00µs - preparation_step::preparation::prepare: 270.00µs - air::preparation_step::preparation::make_exec_ctx: 53.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 44.00µs - runner::execute: 564.00µs - runner::farewell: 504.00µs - from_success_result: 483.00µs - populate_outcome_from_contexts: 433.00µs - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 200.00µs - signing_step::sign_produced_cids: 155.00µs - verification_step::verify: 1.34ms - verify: 228.00µs - multiple-peers8 (13.62ms; 53.375 MiB, 53.375 MiB): verifying many CIDs for many peers - air::runner::execute_air: 13.62ms - preparation_step::preparation::parse_data: 1.76ms - try_from_slice: 1.70ms - preparation_step::preparation::prepare: 353.00µs - air::preparation_step::preparation::make_exec_ctx: 124.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 50.00µs - runner::execute: 3.67ms - runner::farewell: 1.36ms - from_success_result: 1.33ms - populate_outcome_from_contexts: 1.23ms - CallRequestsRepr.serialize: 15.00µs - InterpreterData::serialize: 928.00µs - signing_step::sign_produced_cids: 157.00µs - verification_step::verify: 6.20ms - verify: 1.03ms - multiple-sigs30 (24.67ms; 56.188 MiB, 56.188 MiB): signing multiple CIDs - air::runner::execute_air: 24.67ms - preparation_step::preparation::parse_data: 4.96ms - try_from_slice: 4.89ms - preparation_step::preparation::prepare: 469.00µs - air::preparation_step::preparation::make_exec_ctx: 240.00µs - CallResultsRepr.deserialize: 11.00µs - air_parser::parser::air_parser::parse: 50.00µs - runner::execute: 10.37ms - runner::farewell: 3.79ms - from_success_result: 3.77ms - populate_outcome_from_contexts: 3.60ms - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 2.62ms - signing_step::sign_produced_cids: 665.00µs - verification_step::verify: 4.27ms - verify: 1.76ms - network-explore (4.44ms; 52.375 MiB, 52.375 MiB): 5 peers of network are discovered - air::runner::execute_air: 4.44ms - preparation_step::preparation::parse_data: 588.00µs - try_from_slice: 536.00µs - preparation_step::preparation::prepare: 283.00µs - air::preparation_step::preparation::make_exec_ctx: 44.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 67.00µs - runner::execute: 163.00µs - runner::farewell: 416.00µs - from_success_result: 395.00µs - populate_outcome_from_contexts: 356.00µs - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 134.00µs - signing_step::sign_produced_cids: 157.00µs - verification_step::verify: 2.70ms - verify: 62.00µs - null (950.00µs; 52.375 MiB, 52.375 MiB): Empty data and null script - air::runner::execute_air: 950.00µs + runner::farewell: 248.00µs + from_success_result: 227.00µs + populate_outcome_from_contexts: 192.00µs + CallRequestsRepr.serialize: 13.00µs + InterpreterData::serialize: 41.00µs + signing_step::sign_produced_cids: 96.00µs + verification_step::verify: 33.00µs + verify: 10.00µs + parser-10000-100 (29.92ms; 54.625 MiB, 54.625 MiB): long air script with lot of variable assignments + air::runner::execute_air: 29.92ms preparation_step::preparation::parse_data: 17.00µs - preparation_step::preparation::prepare: 261.00µs + preparation_step::preparation::prepare: 28.77ms air::preparation_step::preparation::make_exec_ctx: 39.00µs CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 18.00µs - runner::execute: 9.00µs - runner::farewell: 326.00µs - from_success_result: 306.00µs - populate_outcome_from_contexts: 272.00µs + air_parser::parser::air_parser::parse: 28.62ms + runner::execute: 27.00µs + runner::farewell: 252.00µs + from_success_result: 231.00µs + populate_outcome_from_contexts: 195.00µs CallRequestsRepr.serialize: 13.00µs InterpreterData::serialize: 42.00µs - signing_step::sign_produced_cids: 175.00µs - verification_step::verify: 34.00µs + signing_step::sign_produced_cids: 97.00µs + verification_step::verify: 33.00µs verify: 10.00µs - parser-10000-100 (28.86ms; 54.625 MiB, 54.625 MiB): long air script with lot of variable assignments - air::runner::execute_air: 28.86ms - preparation_step::preparation::parse_data: 16.00µs - preparation_step::preparation::prepare: 27.56ms - air::preparation_step::preparation::make_exec_ctx: 41.00µs - CallResultsRepr.deserialize: 11.00µs - air_parser::parser::air_parser::parse: 27.34ms - runner::execute: 27.00µs - runner::farewell: 312.00µs - from_success_result: 290.00µs - populate_outcome_from_contexts: 256.00µs - CallRequestsRepr.serialize: 13.00µs - InterpreterData::serialize: 44.00µs - signing_step::sign_produced_cids: 158.00µs - verification_step::verify: 35.00µs - verify: 10.00µs - parser-calls-10000-100 (25.49ms; 54.375 MiB, 54.375 MiB): multiple calls parser benchmark - air::runner::execute_air: 25.49ms + parser-calls-10000-100 (26.54ms; 54.375 MiB, 54.375 MiB): multiple calls parser benchmark + air::runner::execute_air: 26.54ms preparation_step::preparation::parse_data: 17.00µs - preparation_step::preparation::prepare: 24.18ms - air::preparation_step::preparation::make_exec_ctx: 38.00µs - CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 23.94ms - runner::execute: 28.00µs - runner::farewell: 311.00µs - from_success_result: 290.00µs - populate_outcome_from_contexts: 256.00µs - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 44.00µs - signing_step::sign_produced_cids: 158.00µs - verification_step::verify: 35.00µs - verify: 10.00µs - populate-map-multiple-keys (4.51ms; 53.000 MiB, 53.000 MiB): benchmarking a map insert operation - air::runner::execute_air: 4.51ms - preparation_step::preparation::parse_data: 133.00µs - try_from_slice: 95.00µs - preparation_step::preparation::prepare: 273.00µs - air::preparation_step::preparation::make_exec_ctx: 42.00µs - CallResultsRepr.deserialize: 11.00µs - air_parser::parser::air_parser::parse: 49.00µs - runner::execute: 2.83ms - runner::farewell: 425.00µs - from_success_result: 402.00µs - populate_outcome_from_contexts: 366.00µs - CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 129.00µs - signing_step::sign_produced_cids: 157.00µs - verification_step::verify: 554.00µs - verify: 30.00µs - populate-map-single-key (3.67ms; 52.938 MiB, 52.938 MiB): benchmarking a map insert operation - air::runner::execute_air: 3.67ms - preparation_step::preparation::parse_data: 198.00µs - try_from_slice: 161.00µs - preparation_step::preparation::prepare: 261.00µs + preparation_step::preparation::prepare: 25.35ms air::preparation_step::preparation::make_exec_ctx: 40.00µs CallResultsRepr.deserialize: 10.00µs - air_parser::parser::air_parser::parse: 45.00µs - runner::execute: 1.89ms - runner::farewell: 442.00µs - from_success_result: 420.00µs - populate_outcome_from_contexts: 371.00µs + air_parser::parser::air_parser::parse: 25.17ms + runner::execute: 29.00µs + runner::farewell: 252.00µs + from_success_result: 231.00µs + populate_outcome_from_contexts: 196.00µs CallRequestsRepr.serialize: 14.00µs - InterpreterData::serialize: 140.00µs - signing_step::sign_produced_cids: 154.00µs - verification_step::verify: 582.00µs - verify: 60.00µs + InterpreterData::serialize: 42.00µs + signing_step::sign_produced_cids: 98.00µs + verification_step::verify: 34.00µs + verify: 10.00µs + populate-map-multiple-keys (3.99ms; 53.000 MiB, 53.000 MiB): benchmarking a map insert operation + air::runner::execute_air: 3.99ms + preparation_step::preparation::parse_data: 111.00µs + try_from_slice: 74.00µs + preparation_step::preparation::prepare: 206.00µs + air::preparation_step::preparation::make_exec_ctx: 40.00µs + CallResultsRepr.deserialize: 10.00µs + air_parser::parser::air_parser::parse: 48.00µs + runner::execute: 2.73ms + runner::farewell: 382.00µs + from_success_result: 361.00µs + populate_outcome_from_contexts: 326.00µs + CallRequestsRepr.serialize: 14.00µs + InterpreterData::serialize: 148.00µs + signing_step::sign_produced_cids: 96.00µs + verification_step::verify: 327.00µs + verify: 26.00µs + populate-map-single-key (3.30ms; 52.938 MiB, 52.938 MiB): benchmarking a map insert operation + air::runner::execute_air: 3.30ms + preparation_step::preparation::parse_data: 145.00µs + try_from_slice: 104.00µs + preparation_step::preparation::prepare: 209.00µs + air::preparation_step::preparation::make_exec_ctx: 41.00µs + CallResultsRepr.deserialize: 11.00µs + air_parser::parser::air_parser::parse: 47.00µs + runner::execute: 1.96ms + runner::farewell: 411.00µs + from_success_result: 388.00µs + populate_outcome_from_contexts: 339.00µs + CallRequestsRepr.serialize: 14.00µs + InterpreterData::serialize: 163.00µs + signing_step::sign_produced_cids: 97.00µs + verification_step::verify: 344.00µs + verify: 39.00µs diff --git a/crates/air-lib/interpreter-interface/Cargo.toml b/crates/air-lib/interpreter-interface/Cargo.toml index 05d2d00f..37e9ee30 100644 --- a/crates/air-lib/interpreter-interface/Cargo.toml +++ b/crates/air-lib/interpreter-interface/Cargo.toml @@ -17,7 +17,7 @@ path = "src/lib.rs" [dependencies] marine-rs-sdk = {version = "0.10.2", optional = true } fluence-it-types = { version = "0.4.1", optional = true } -air-interpreter-sede = { version = "0.1.0", path = "../interpreter-sede", features = ["json"] } +air-interpreter-sede = { version = "0.1.0", path = "../interpreter-sede", features = ["msgpack"] } marine-call-parameters = { version = "0.10.3", default-features = false } serde = "1.0.190" diff --git a/crates/air-lib/interpreter-interface/src/call_request_parameters.rs b/crates/air-lib/interpreter-interface/src/call_request_parameters.rs index 5e620d9f..8b234b77 100644 --- a/crates/air-lib/interpreter-interface/src/call_request_parameters.rs +++ b/crates/air-lib/interpreter-interface/src/call_request_parameters.rs @@ -18,7 +18,8 @@ use air_interpreter_sede::define_simple_representation; use air_interpreter_sede::derive_serialized_type; use air_interpreter_sede::Format; use air_interpreter_sede::FromSerialized; -use air_interpreter_sede::JsonFormat; +use air_interpreter_sede::MsgPackFormat; +use air_interpreter_sede::MsgPackMultiformat; use air_interpreter_sede::Representation; use marine_call_parameters::SecurityTetraplet; @@ -36,9 +37,9 @@ derive_serialized_type!(SerializedCallArguments); derive_serialized_type!(SerializedTetraplets); derive_serialized_type!(SerializedCallRequests); -pub type CallArgumentsFormat = JsonFormat; -pub type TetrapletsFormat = JsonFormat; -pub type CallRequestsFormat = JsonFormat; +pub type CallArgumentsFormat = MsgPackFormat; +pub type TetrapletsFormat = MsgPackFormat; +pub type CallRequestsFormat = MsgPackMultiformat; define_simple_representation! { CallArgumentsRepr, @@ -74,7 +75,7 @@ impl FromSerialized>> for TetrapletsRepr { &self, repr: &[u8], ) -> Result>, Self::DeserializeError> { - CallArgumentsRepr.get_format().from_slice(repr) + Self.get_format().from_slice(repr) } } diff --git a/crates/air-lib/interpreter-interface/src/call_service_result.rs b/crates/air-lib/interpreter-interface/src/call_service_result.rs index 946a4e7a..fbbf629e 100644 --- a/crates/air-lib/interpreter-interface/src/call_service_result.rs +++ b/crates/air-lib/interpreter-interface/src/call_service_result.rs @@ -16,17 +16,19 @@ use air_interpreter_sede::define_simple_representation; use air_interpreter_sede::derive_serialized_type; -use air_interpreter_sede::JsonFormat; +use air_interpreter_sede::MsgPackMultiformat; use air_interpreter_sede::Representation; use serde::Deserialize; use serde::Serialize; use serde_json::Value as JValue; use std::collections::HashMap; -pub type CallResults = HashMap; +/// This is a map from a String to a service result for compatibility with JavaScript. +/// Binary format implementations like `rmp-serde` do not convert keys from strings, unlike `serde_json`. +pub type CallResults = HashMap; pub const CALL_SERVICE_SUCCESS: i32 = 0; -pub type CallResultsFormat = JsonFormat; +pub type CallResultsFormat = MsgPackMultiformat; derive_serialized_type!(SerializedCallResults); @@ -55,6 +57,7 @@ impl CallServiceResult { pub fn ok(result: &JValue) -> Self { Self { ret_code: CALL_SERVICE_SUCCESS, + // for compatiblity with JavaScript with binary formats, string IDs are used result: result.to_string(), } } diff --git a/crates/air-lib/interpreter-sede/src/rmp_serde.rs b/crates/air-lib/interpreter-sede/src/rmp_serde.rs index a54ac9c6..9efce4df 100644 --- a/crates/air-lib/interpreter-sede/src/rmp_serde.rs +++ b/crates/air-lib/interpreter-sede/src/rmp_serde.rs @@ -35,7 +35,9 @@ where #[inline] fn to_vec(&self, val: &Value) -> Result, Self::SerializationError> { - rmp_serde::to_vec(val) + // named representation (i.e. structs are serialized as maps, not tuples) is important + // for JS interop and data compatibility detection + rmp_serde::to_vec_named(val) } #[inline] @@ -49,7 +51,9 @@ where value: &Value, write: &mut W, ) -> Result<(), Self::WriteError> { - value.serialize(&mut rmp_serde::Serializer::new(write)) + // named representation (i.e. structs are serialized as maps, not tuples) is important + // for JS interop and data compatibility detection + rmp_serde::encode::write_named(write, value) } }