Skip to content

Commit 2b204d7

Browse files
Improve visibility of compare tool output. (#283)
1 parent a0a7e90 commit 2b204d7

File tree

1 file changed

+2
-1
lines changed
  • redis_benchmarks_specification/__compare__

1 file changed

+2
-1
lines changed

redis_benchmarks_specification/__compare__/compare.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -874,11 +874,12 @@ def compute_regression_table(
874874
len_no_datapoints = len(no_datapoints_list)
875875
if len_no_datapoints > 0:
876876
table_output += f"\n WARNING: There were {len_no_datapoints} benchmarks with NO datapoints for both baseline and comparison.\n\n"
877+
table_output += "<details>\n <summary>NO datapoints for both baseline and comparison:</summary>\n\n"
877878
no_datapoints_test_names_str = "|".join([l for l in no_datapoints_list])
878-
879879
table_output += (
880880
f" NO DATAPOINTS test regexp names: {no_datapoints_test_names_str}\n\n"
881881
)
882+
table_output += "\n</details>\n"
882883

883884
return (
884885
detected_regressions,

0 commit comments

Comments
 (0)