From db0785463a4b14e95c7e24e036b91c4c0a37056c Mon Sep 17 00:00:00 2001 From: Tyler Gu Date: Sun, 5 Nov 2023 20:59:52 -0600 Subject: [PATCH] Fix perf Signed-off-by: Tyler Gu --- performance_measurement/measure_performance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance_measurement/measure_performance.py b/performance_measurement/measure_performance.py index d597ded13..50f099429 100644 --- a/performance_measurement/measure_performance.py +++ b/performance_measurement/measure_performance.py @@ -133,7 +133,7 @@ def load_inputs_from_dir(dir: str) -> list: measurement_result = runner.run( workload, MeasurementRunner.wait_for_zk_spec, MeasurementRunner.wait_for_pod_ready, gen) if measurement_result is not None: - measurement_result_file = f"{trial_dir}/measurement_result_{gen:03d}.json" + measurement_result_file = f"{single_operation_trial_dir}/measurement_result_{gen:03d}.json" with open(measurement_result_file, "w") as f: json.dump(dataclasses.asdict(measurement_result), f) gen += 1