Loop differently to get all results at least once
This commit is contained in:
parent
c04c59ab01
commit
f6b60a50fa
1 changed files with 9 additions and 7 deletions
|
@ -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…
Reference in a new issue