We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5961712 commit 7bfcf1aCopy full SHA for 7bfcf1a
scripts/check_regression.sh
@@ -26,6 +26,11 @@ compare_stat_p90() {
26
# Calculate 150% of the past value
27
local threshold=$(calculate_threshold "$past_value")
28
29
+ echo "Past P90 value: $past_value"
30
+ echo "Current P90 value: $current_value"
31
+ echo "Threshold: $threshold"
32
+
33
34
# Compare the current value with the threshold
35
if (( $(echo "$current_value > $threshold" |bc -l) )); then
36
echo "ERROR: $stat_name - Current P90 value ($current_value) exceeds the 150% threshold ($threshold) of the past P90 value ($past_value)"
@@ -91,4 +96,4 @@ else
91
96
fi
92
97
93
98
# Set the final exit code to indicate if any regression occurred
94
-exit $exit_code
99
+exit $exit_code
0 commit comments