Skip to content

Commit

Permalink
fix: Reset bench table highlights after each test (#2441)
Browse files Browse the repository at this point in the history
Otherwise the highlight for a significant change will stay in effect for following non-significant changes.
  • Loading branch information
larseggert authored Feb 13, 2025
1 parent 966ece6 commit d247751
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ jobs:
fi
else
echo "No statistically significant change: $BASELINE_MEAN -> $MEAN"
SYMBOL=""
FORMAT=""
fi
printf "| %s %s%.1f%s | %s%.1f%%%s |\n" \
"$SYMBOL" "$FORMAT" "$DELTA" "$FORMAT" "$FORMAT" "$PERCENT" "$FORMAT" >> steps.md
Expand Down

0 comments on commit d247751

Please sign in to comment.