Skip to content

Commit

Permalink
fix: Reset bench table highlights after each test
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 committed Feb 13, 2025
1 parent 966ece6 commit afee5ee
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 afee5ee

Please sign in to comment.