Add benchmarking script.
This commit is contained in:
11
benchmark.sh
Executable file
11
benchmark.sh
Executable 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
|
||||
Reference in New Issue
Block a user