Skip to content

Commit

Permalink
ci: increase the min diff threshold to 3 %
Browse files Browse the repository at this point in the history
  • Loading branch information
triceo authored Oct 10, 2024
1 parent d357b7d commit 8ea3966
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/performance_score_director.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ jobs:
export DIFF_END=$(echo "scale=2; ($OLD_RANGE_END / $NEW_RANGE_END) * 100" | bc)
export FAIL=false
if (( $(echo "$DIFF_MID >= 98.00" | bc -l) && $(echo "$DIFF_MID <= 102.00"|bc -l) )); then
# Ignore differences of up to 2 %.
if (( $(echo "$DIFF_MID >= 97.00" | bc -l) && $(echo "$DIFF_MID <= 103.00"|bc -l) )); then
# Ignore differences of up to 3 %.
echo "### Performance unchanged" >> $GITHUB_STEP_SUMMARY
echo "(Decided to ignore a very small difference of under 2 %.)" >> $GITHUB_STEP_SUMMARY
echo "(Decided to ignore a very small difference of under 3 %.)" >> $GITHUB_STEP_SUMMARY
else
if [ "$NEW_RANGE_START" -le "$OLD_RANGE_END" ] && [ "$NEW_RANGE_END" -ge "$OLD_RANGE_START" ]; then
if [ "$NEW_RANGE_START" -ge "$OLD_RANGE_MID" ]; then
Expand Down

0 comments on commit 8ea3966

Please sign in to comment.