From b31fbf5f23476a951c1cb6d58ca937002433ec1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Tue, 19 Nov 2024 12:56:29 +0100 Subject: [PATCH] chore(bench): fix result parsing for object and key generation --- ci/benchmark_parser.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/benchmark_parser.py b/ci/benchmark_parser.py index 8f91fe6585..adf445adf6 100644 --- a/ci/benchmark_parser.py +++ b/ci/benchmark_parser.py @@ -212,9 +212,9 @@ def recursive_parse( multiplier = 1 if ( - stat_name == "mean" - and bench_type == BenchType.throughput - and hardware_hourly_cost is not None + stat_name == "mean" + and bench_type == BenchType.throughput + and hardware_hourly_cost is not None ): test_suffix = "ops-per-dollar" test_name_parts.append(test_suffix) @@ -461,11 +461,11 @@ def check_mandatory_args(input_args): if args.object_sizes or args.key_gen: if args.object_sizes: print("Parsing key sizes results... ") - results, failures = parse_object_sizes(raw_results) + results, failures = parse_object_sizes(raw_results, args.crate) if args.key_gen: print("Parsing key generation time results... ") - results, failures = parse_key_gen_time(raw_results) + results, failures = parse_key_gen_time(raw_results, args.crate) else: print("Parsing benchmark results... ") hardware_cost = None