From e3af4bc0d87496949d63e0a4dd98f7768c6f0b48 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sun, 26 May 2024 20:13:05 +0200 Subject: [PATCH] wip --- scripts/ci/process_locust_benchmark_results.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci/process_locust_benchmark_results.py b/scripts/ci/process_locust_benchmark_results.py index befbf7b65..a425ff7cc 100644 --- a/scripts/ci/process_locust_benchmark_results.py +++ b/scripts/ci/process_locust_benchmark_results.py @@ -34,7 +34,8 @@ avg: {row['Average Response Time']}ms 99%: {row['99%']}ms max: {row['Max Response Time']}ms ''' - with open(f"{prefix}_{name}_{output_folder}.bench", 'w') as f: + with open(f"{output_folder}/{prefix}_{name}.bench", 'w') as f: + print(f"Writing statistics to {output_folder}/{prefix}_{name}.bench") f.write(statistics) if __name__ == '__main__':