benchmark: inform about configuration in output.

This is useful for default values.
This commit is contained in:
2026-02-23 12:19:01 +01:00
parent 0cc8e94224
commit 6d55f0a10a

View File

@@ -21,6 +21,7 @@ do
case "$opt" in
s)
OPTIONS=("${OPTIONS[@]}" -s "$OPTARG")
SIEVE=$OPTARG
;;
t)
TRIALS="$OPTARG"
@@ -33,6 +34,8 @@ do
done
echo "Calculating primes up to 1,000,000,000"
echo "Trials: $TRIALS"
echo "Sieve segment size: ${SIEVE:-"default"}"
TOTAL="0"
for _ in $(seq "$TRIALS")
do