From 8ea39666113f1946190adbd9f53dbcdfb0837e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Petrovick=C3=BD?= Date: Thu, 10 Oct 2024 13:31:50 +0200 Subject: [PATCH] ci: increase the min diff threshold to 3 % --- .github/workflows/performance_score_director.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/performance_score_director.yml b/.github/workflows/performance_score_director.yml index 1e0fefd7..ff2090b9 100644 --- a/.github/workflows/performance_score_director.yml +++ b/.github/workflows/performance_score_director.yml @@ -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