diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 17c96f1d..0bd64e4a 100755 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -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