2022-08-20 18:24:24 +02:00
|
|
|
#!/bin/bash
|
|
|
|
cargo build --release || exit
|
|
|
|
|
2022-08-20 22:02:06 +02:00
|
|
|
perf stat -r 5 --table -o benchmark.log ./target/release/opentally stv '/home/runassudo/git/stvdb/Australian Senate/2022/VIC.blt' --round-votes 0 --round-quota 0 --quota droop --quota-criterion geq --ties backwards random --random-seed 20210727 --surplus uig --surplus-order by_order --exclusion by_value --pp-decimals 0 $@
|
2022-08-20 18:24:24 +02:00
|
|
|
|
|
|
|
cat benchmark.log
|
|
|
|
git describe --always --dirty=-dev | tee -a benchmark.log
|