Change test to 1,000,000,000 primes.

This commit is contained in:
2025-12-10 14:59:33 +01:00
parent 5dde94ae8c
commit 41bc18a17c

View File

@@ -32,11 +32,11 @@ do
esac esac
done done
echo "Calculating primes up to 100,000,000" echo "Calculating primes up to 1,000,000,000"
TOTAL="0" TOTAL="0"
for _ in $(seq "$TRIALS") for _ in $(seq "$TRIALS")
do do
TIME=$(command time -f "%e" "$EXE" "${OPTIONS[@]}" 100000000 2>&1 >/dev/null) TIME=$(command time -f "%e" "$EXE" "${OPTIONS[@]}" 1000000000 2>&1 >/dev/null)
TOTAL=$(calc "$TOTAL + $TIME") TOTAL=$(calc "$TOTAL + $TIME")
done done