Skip to content

Commit

Permalink
Scripts benchmarks: run for FNT(257)
Browse files Browse the repository at this point in the history
  • Loading branch information
lamphamsy committed Feb 8, 2019
1 parent d65e631 commit c4e704a
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions scripts/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,22 @@ fi
chunk_size=51200
# for rs-fnt with different packet sizes
word_size=2
for ec_type in rs-fnt rs-fnt-sys; do
for k in 16; do
for n in 256 1024; do
m=$((n-k))
for pkt_size in 256 512 1024; do
${bin} -e ${ec_type} -w ${word_size} -k ${k} -m ${m} -c ${chunk_size} -s ${sce_type} -g ${threads_nb} -f ${show_type} -p ${pkt_size} -n ${samples_nb}
done
for word_size in 1 2; do
for type_size in 2 4; do
max_len=$((256**word_size))
if ((type_size>word_size)); then
for ec_type in rs-fnt rs-fnt-sys; do
for k in 16; do
for n in 32 256 1024; do
if ((n<max_len)); then
m=$((n-k))
for pkt_size in 256 512 1024; do
${bin} -e ${ec_type} -w ${word_size} -t ${type_size} -k ${k} -m ${m} -c ${chunk_size} -s ${sce_type} -g ${threads_nb} -f ${show_type} -p ${pkt_size} -n ${samples_nb}
done
fi
done
done
done
fi
done
done
done

0 comments on commit c4e704a

Please sign in to comment.