Skip to content

Commit 7bfcf1a

Browse files
authored
Update check_regression.sh
1 parent 5961712 commit 7bfcf1a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: scripts/check_regression.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ compare_stat_p90() {
2626
# Calculate 150% of the past value
2727
local threshold=$(calculate_threshold "$past_value")
2828

29+
echo "Past P90 value: $past_value"
30+
echo "Current P90 value: $current_value"
31+
echo "Threshold: $threshold"
32+
33+
2934
# Compare the current value with the threshold
3035
if (( $(echo "$current_value > $threshold" |bc -l) )); then
3136
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
9196
fi
9297

9398
# Set the final exit code to indicate if any regression occurred
94-
exit $exit_code
99+
exit $exit_code

0 commit comments

Comments
 (0)