Add benchmarking script.

This commit is contained in:
2025-12-05 15:50:38 +01:00
parent 56a094730c
commit 073276da10

11
benchmark.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
BIN="./target/release/indivisible"
if ! [ -f "$BIN" ]
then
>&2 echo "Release build not available. Please run 'cargo build -r'."
exit 1
fi
time "$BIN" 100000000