Browse Source

Loop differently to get all results at least once

master
Nico Schottelius 3 years ago
parent
commit
f6b60a50fa
  1. 16
      bin/run-benchmark.sh

16
bin/run-benchmark.sh

@ -24,16 +24,18 @@ fi
do_benchmark()
{
run=$1; shift
full_flags="$@"
iperf3_flags=$(echo $full_flags | sed 's/ //g')
for run in 1 2 3; do
filename="${fbase}${iperf3_flags}-run${run}"
iperf3 $full_flags | tee "${filename}"
done
filename="${fbase}${iperf3_flags}-run${run}"
iperf3 $full_flags | tee "${filename}"
}
for p in 1 10 20 50; do
do_benchmark $flags -P$p
do_benchmark $flags -P$p -u -b0
for run in 1 2 3; do
for p in 1 10 20 50; do
do_benchmark $run $flags -P$p
do_benchmark $run $flags -P$p -u -b0
done
done

Loading…
Cancel
Save