Skip to content

Commit 8e21f5b

Browse files
committed
adding topology info to aggregate results as well
1 parent 4c4c51b commit 8e21f5b

File tree

1 file changed

+9
-1
lines changed
  • redis_benchmarks_specification/__runner__

1 file changed

+9
-1
lines changed

redis_benchmarks_specification/__runner__/runner.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2872,6 +2872,7 @@ def delete_temporary_files(
28722872
test_name,
28732873
results_matrix,
28742874
redis_conns,
2875+
setup_name,
28752876
)
28762877
else:
28772878
# Single client - read from file as usual
@@ -2950,6 +2951,7 @@ def delete_temporary_files(
29502951
test_name,
29512952
results_matrix,
29522953
redis_conns,
2954+
setup_name,
29532955
)
29542956

29552957
dataset_load_duration_seconds = 0
@@ -3525,6 +3527,7 @@ def prepare_overall_total_test_results(
35253527
test_name,
35263528
overall_results_matrix,
35273529
redis_conns=None,
3530+
topology=None,
35283531
):
35293532
# check which metrics to extract
35303533
(
@@ -3560,8 +3563,13 @@ def get_overall_display_name(x):
35603563

35613564
return x[0] # Use original path
35623565

3566+
# Include topology in the test name if provided
3567+
test_name_with_topology = test_name
3568+
if topology:
3569+
test_name_with_topology = f"{topology}-{test_name}"
3570+
35633571
current_test_results_matrix = [
3564-
[test_name, get_overall_display_name(x), f"{x[3]:.3f}"]
3572+
[test_name_with_topology, get_overall_display_name(x), f"{x[3]:.3f}"]
35653573
for x in current_test_results_matrix
35663574
]
35673575
overall_results_matrix.extend(current_test_results_matrix)

0 commit comments

Comments
 (0)