From 933e00556c625134e3d6c7fc2f9a0227d699f691 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 24 Oct 2026 14:30:07 -0700 Subject: [PATCH] ollama-test, fix the time comparison to look for the lowest. --- rc_shared.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc_shared.sh b/rc_shared.sh index 0157a65..12d3ef2 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -1767,7 +1767,7 @@ function ollama_benchmark() { [[ -n "$DEBUG" ]] && echo "DEBUG: champ_time_num=$champ_time_num, time=$time" if [[ -z "$champ_time_num" ]] \ - || awk -v a="$time" -v b="$champ_time_num" 'BEGIN { exit !(a > b) }' + || awk -v a="$time" -v b="$champ_time_num" 'BEGIN { exit !(a < b) }' then [[ -n "$DEBUG" ]] && echo "DEBUG: New time champ!" champ_time_num="$time"