File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ jobs:
425425
426426 # Make a single results table.
427427 {
428- echo "Transfer of $SIZE bytes over loopback, min. $RUNS runs. All unit-less numbers are in milliseconds."
428+ echo "Transfer of $SIZE bytes over loopback, $MTU-byte MTU, min. $RUNS runs. All unit-less numbers are in milliseconds."
429429 echo
430430 # shellcheck disable=SC2016
431431 echo '| Client vs. server (params) | Mean ± σ | Min | Max | MiB/s ± σ | Δ `main` | Δ `main` |'
@@ -464,7 +464,22 @@ jobs:
464464 echo
465465 echo "Performance differences relative to $SHA."
466466 echo
467+ # Extract rows with significant changes (red or green heart).
468+ if grep -q ':broken_heart:\|:green_heart:' comparison.md; then
469+ # Print all lines up to and including the first separator line (header)
470+ awk 'BEGIN{found=0} /^[|][ -|:]+[|]$/ {found=1} {print} found{exit}' comparison.md
471+ grep ':broken_heart:\|:green_heart:' comparison.md
472+ echo
473+ else
474+ echo "No significant performance differences."
475+ echo
476+ fi
477+ echo "Table above only shows statistically significant changes. See all results below."
478+ echo "<details><summary>All results</summary>"
479+ echo
467480 cat comparison.md
481+ echo
482+ echo "</details>"
468483 } >> results.md
469484 cat results.md > "$GITHUB_STEP_SUMMARY"
470485 echo "$TESTBED" > testbed.txt
You can’t perform that action at this time.
0 commit comments