2022-08-21 02:24:24 +10:00
|
|
|
#!/bin/bash
|
|
|
|
cargo build --profile perf || exit
|
2022-08-21 06:14:34 +10:00
|
|
|
rm perf.data
|
|
|
|
|
|
|
|
# Burn in
|
|
|
|
./target/perf/opentally stv tests/data/raw/VIC2022.bin --bin --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 $@
|
|
|
|
|
|
|
|
# Profile
|
2022-08-21 07:31:32 +10:00
|
|
|
perf record -g -o target/perf.data --call-graph=dwarf ./target/perf/opentally stv tests/data/raw/VIC2022.bin --bin --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 $@
|