Skip to content

Commit 83ac322

Browse files
committed
whitespace
1 parent 09cfa77 commit 83ac322

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

devops/scripts/benchmarks/compare.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,21 +430,25 @@ def print_regression(entry: dict, is_warning: bool = False):
430430
if args.produce_github_summary:
431431
gh_summary.println("### Improvements")
432432
gh_summary.println(f"<details><summary>{len(improvements)} improved tests:</summary>")
433+
gh_summary.println("")
433434
for test in improvements:
434435
print_regression(test)
435436
if args.produce_github_summary:
436437
gh_summary.println("</details>")
438+
gh_summary.println("")
437439
if regressions_ignored:
438440
log.info("#")
439441
log.info("# Regressions (filtered out by regression-filter):")
440442
log.info("#")
441443
if args.produce_github_summary:
442444
gh_summary.println("### Regressions")
443445
gh_summary.println(f"<details><summary>{len(regressions_ignored)} non CI-failing regressions:</summary>")
446+
gh_summary.println("")
444447
for test in regressions_ignored:
445448
print_regression(test)
446449
if args.produce_github_summary:
447450
gh_summary.println("</details>")
451+
gh_summary.println("")
448452
if regressions_of_concern:
449453
log.warning("#")
450454
log.warning("# Regressions:")
@@ -460,10 +464,12 @@ def print_regression(entry: dict, is_warning: bool = False):
460464
print_regression(test, is_warning=True)
461465
if args.produce_github_summary:
462466
gh_summary.println("</details>")
467+
gh_summary.println("")
463468

464469
if not args.dry_run:
465470
if args.produce_github_summary:
466471
gh_summary.println("### Failed benchmarks:")
472+
gh_summary.println("")
467473
for test in regressions_of_concern:
468474
gh_summary.println(f"- {test['name']}: Delta {round(test['delta']*100, 2)}%")
469475
gh_summary.write_file()

0 commit comments

Comments
 (0)