[scripts] Minor updates.

This commit is contained in:
Ciprian Dorin Craciun 2021-12-18 01:30:04 +02:00
parent 2621994fb6
commit d02eaf5aae
2 changed files with 60 additions and 12 deletions

View file

@ -3,10 +3,15 @@
:: benchmark / server / http / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http "${@}" --processes 1 --threads 1 :: benchmark / server / http-fast / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-fast "${@}" --processes 1 --threads 1
:: benchmark / server / http / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http "${@}" --processes 2 --threads 1 :: benchmark / server / http-fast / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-fast "${@}" --processes 2 --threads 1
:: benchmark / server / http / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http "${@}" --processes 1 --threads 2 :: benchmark / server / http-fast / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-fast "${@}" --processes 1 --threads 2
:: benchmark / server / http / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http "${@}" --processes 2 --threads 2 :: benchmark / server / http-fast / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-fast "${@}" --processes 2 --threads 2
:: benchmark / server / http-go / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-go "${@}" --processes 1 --threads 1
:: benchmark / server / http-go / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-go "${@}" --processes 2 --threads 1
:: benchmark / server / http-go / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-go "${@}" --processes 1 --threads 2
:: benchmark / server / http-go / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-go "${@}" --processes 2 --threads 2
:: benchmark / server / https-fast / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' https-fast "${@}" --processes 1 --threads 1 :: benchmark / server / https-fast / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' https-fast "${@}" --processes 1 --threads 1
:: benchmark / server / https-fast / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' https-fast "${@}" --processes 2 --threads 1 :: benchmark / server / https-fast / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' https-fast "${@}" --processes 2 --threads 1
@ -23,10 +28,15 @@
:: benchmark / server / http2-go / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-go "${@}" --processes 1 --threads 2 :: benchmark / server / http2-go / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-go "${@}" --processes 1 --threads 2
:: benchmark / server / http2-go / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-go "${@}" --processes 2 --threads 2 :: benchmark / server / http2-go / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-go "${@}" --processes 2 --threads 2
:: benchmark / server / http2-go-split / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-go-split "${@}" --processes 1 --threads 1 :: benchmark / server / https-split / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' https-split "${@}" --processes 1 --threads 1
:: benchmark / server / http2-go-split / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-go-split "${@}" --processes 2 --threads 1 :: benchmark / server / https-split / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' https-split "${@}" --processes 2 --threads 1
:: benchmark / server / http2-go-split / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-go-split "${@}" --processes 1 --threads 2 :: benchmark / server / https-split / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' https-split "${@}" --processes 1 --threads 2
:: benchmark / server / http2-go-split / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-go-split "${@}" --processes 2 --threads 2 :: benchmark / server / https-split / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' https-split "${@}" --processes 2 --threads 2
:: benchmark / server / http2-split / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-split "${@}" --processes 1 --threads 1
:: benchmark / server / http2-split / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-split "${@}" --processes 2 --threads 1
:: benchmark / server / http2-split / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-split "${@}" --processes 1 --threads 2
:: benchmark / server / http2-split / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http2-split "${@}" --processes 2 --threads 2
:: benchmark / server / http3-quic / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http3-quic "${@}" --processes 1 --threads 1 :: benchmark / server / http3-quic / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http3-quic "${@}" --processes 1 --threads 1
:: benchmark / server / http3-quic / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http3-quic "${@}" --processes 1 --threads 2 :: benchmark / server / http3-quic / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http3-quic "${@}" --processes 1 --threads 2
@ -137,17 +147,23 @@
( http-all ) ( http-all )
_arguments+=( _arguments+=(
--bind 127.9.185.194:8080 --bind 127.9.185.194:8080
--bind-2 127.9.185.194:8081
--bind-tls 127.9.185.194:8443 --bind-tls 127.9.185.194:8443
--bind-tls-2 127.9.185.194:8444 --bind-tls-2 127.9.185.194:8444
--bind-quic 127.9.185.194:8445 --bind-quic 127.9.185.194:8445
--http3-alt-svc 127.9.185.194:8445 --http3-alt-svc 127.9.185.194:8445
) )
;; ;;
( http ) ( http-fast )
_arguments+=( _arguments+=(
--bind 127.9.185.194:8080 --bind 127.9.185.194:8080
) )
;; ;;
( http-go )
_arguments+=(
--bind-2 127.9.185.194:8080
)
;;
( https-fast ) ( https-fast )
_arguments+=( _arguments+=(
--bind-tls 127.9.185.194:8443 --bind-tls 127.9.185.194:8443
@ -166,7 +182,12 @@
--http1-disable --http1-disable
) )
;; ;;
( http2-go-split ) ( https-split )
_arguments+=(
--bind-tls 127.9.185.194:8443
)
;;
( http2-split )
_arguments+=( _arguments+=(
--bind-tls 127.9.185.194:8444 --bind-tls 127.9.185.194:8444
) )

View file

@ -21,13 +21,41 @@
<< examples / hello-world / serve << examples / hello-world / serve
exec -- "${ZRUN[@]}" ':: execute / server / debug' \ exec -- "${ZRUN[@]}" ':: execute / server / debug' \
--bind 127.153.215.30:8080 \ \
--archive ./examples/hello-world.cdb \ --archive ./examples/hello-world.cdb \
--archive-inmem \ --archive-inmem \
--index-all \ --index-all \
\
--processes 1 \ --processes 1 \
--threads 1 \ --threads 1 \
\
--debug \ --debug \
\
"${@}" \
#
!!
<< examples / hello-world / serve / http-fast
exec -- "${ZRUN[@]}" ':: examples / hello-world / serve' \
\
--bind 127.153.215.30:8080 \
\
"${@}" \
#
!!
<< examples / hello-world / serve / http-all
exec -- "${ZRUN[@]}" ':: examples / hello-world / serve' \
\
--bind 127.153.215.30:8080 \
--bind-2 127.153.215.30:8081 \
--bind-tls 127.153.215.30:8443 \
--bind-tls-2 127.153.215.30:8444 \
--bind-quic 127.153.215.30:8445 \
--http3-alt-svc 127.153.215.30:8445 \
\
"${@}" \ "${@}" \
# #
!! !!
@ -52,7 +80,6 @@
<< examples / huge / serve << examples / huge / serve
exec -- "${ZRUN[@]}" ':: execute / server / debug' \ exec -- "${ZRUN[@]}" ':: execute / server / debug' \
--bind 127.153.215.30:8080 \
--archive ./.outputs/examples/huge.cdb \ --archive ./.outputs/examples/huge.cdb \
--archive-mmap \ --archive-mmap \
--processes 1 \ --processes 1 \