@@ -523,7 +523,7 @@ for profile in "${profiles_to_run[@]}"; do
523523 -c " $CONNS " -t " $THREADS " -d " $DURATION " -p " $pipeline " )
524524 elif [ " $endpoint " = " mixed" ]; then
525525 gc_args=(" http://localhost:$PORT "
526- --raw " $REQUESTS_DIR /get.raw,$REQUESTS_DIR /get.raw,$REQUESTS_DIR /get.raw,$REQUESTS_DIR /post_cl.raw,$REQUESTS_DIR /post_cl.raw,$REQUESTS_DIR /json-get.raw,$REQUESTS_DIR /db-get.raw,$REQUESTS_DIR /upload-small.raw,$REQUESTS_DIR /json-gzip.raw,$REQUESTS_DIR /json-gzip.raw"
526+ --raw " $REQUESTS_DIR /get.raw,$REQUESTS_DIR /get.raw,$REQUESTS_DIR /get.raw,$REQUESTS_DIR /post_cl.raw,$REQUESTS_DIR /post_cl.raw,$REQUESTS_DIR /json-get.raw,$REQUESTS_DIR /db-get.raw,$REQUESTS_DIR /upload-small.raw,$REQUESTS_DIR /json-gzip.raw,$REQUESTS_DIR /json-gzip.raw, $REQUESTS_DIR /static-reset.css.raw, $REQUESTS_DIR /static-app.js.raw, $REQUESTS_DIR /async-db-get.raw, $REQUESTS_DIR /async-db-get.raw "
527527 -c " $CONNS " -t " $THREADS " -d 15s -p " $pipeline " )
528528 elif [ " $endpoint " = " async-db" ]; then
529529 gc_args=(" http://localhost:$PORT /async-db?min=10&max=50"
@@ -687,19 +687,23 @@ else: print(f'{bps}B/s')
687687 if [ " $USE_H2LOAD " = " false" ] && [ " $USE_OHA " = " false" ]; then
688688 tpl_line=$( echo " $best_output " | grep -oP ' Per-template-ok: \K.*' || echo " " )
689689 if [ -n " $tpl_line " ] && [ " $endpoint " = " mixed" ]; then
690- # Mixed templates: get×3, post_cl×2, json-get×1, db-get×1, upload-small×1, json-gzip×2
690+ # Mixed templates: get×3, post_cl×2, json-get×1, db-get×1, upload-small×1, json-gzip×2, static×2, async-db×2
691691 IFS=' ,' read -ra tpl_counts <<< " $tpl_line"
692692 t_baseline=$(( ${tpl_counts[0]:- 0} + ${tpl_counts[1]:- 0} + ${tpl_counts[2]:- 0} + ${tpl_counts[3]:- 0} + ${tpl_counts[4]:- 0} ))
693693 t_json=${tpl_counts[5]:- 0}
694694 t_db=${tpl_counts[6]:- 0}
695695 t_upload=${tpl_counts[7]:- 0}
696696 t_compression=$(( ${tpl_counts[8]:- 0} + ${tpl_counts[9]:- 0} ))
697+ t_static=$(( ${tpl_counts[10]:- 0} + ${tpl_counts[11]:- 0} ))
698+ t_async_db=$(( ${tpl_counts[12]:- 0} + ${tpl_counts[13]:- 0} ))
697699 tpl_json=" ,
698700 \" tpl_baseline\" : $t_baseline ,
699701 \" tpl_json\" : $t_json ,
700702 \" tpl_db\" : $t_db ,
701703 \" tpl_upload\" : $t_upload ,
702- \" tpl_compression\" : $t_compression "
704+ \" tpl_compression\" : $t_compression ,
705+ \" tpl_static\" : $t_static ,
706+ \" tpl_async_db\" : $t_async_db "
703707 fi
704708 fi
705709
0 commit comments