Skip to content

Commit 8ea3966

Browse files
authored
ci: increase the min diff threshold to 3 %
1 parent d357b7d commit 8ea3966

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/performance_score_director.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ jobs:
174174
export DIFF_END=$(echo "scale=2; ($OLD_RANGE_END / $NEW_RANGE_END) * 100" | bc)
175175
export FAIL=false
176176
177-
if (( $(echo "$DIFF_MID >= 98.00" | bc -l) && $(echo "$DIFF_MID <= 102.00"|bc -l) )); then
178-
# Ignore differences of up to 2 %.
177+
if (( $(echo "$DIFF_MID >= 97.00" | bc -l) && $(echo "$DIFF_MID <= 103.00"|bc -l) )); then
178+
# Ignore differences of up to 3 %.
179179
echo "### Performance unchanged" >> $GITHUB_STEP_SUMMARY
180-
echo "(Decided to ignore a very small difference of under 2 %.)" >> $GITHUB_STEP_SUMMARY
180+
echo "(Decided to ignore a very small difference of under 3 %.)" >> $GITHUB_STEP_SUMMARY
181181
else
182182
if [ "$NEW_RANGE_START" -le "$OLD_RANGE_END" ] && [ "$NEW_RANGE_END" -ge "$OLD_RANGE_START" ]; then
183183
if [ "$NEW_RANGE_START" -ge "$OLD_RANGE_MID" ]; then

0 commit comments

Comments
 (0)