[scripts] Replace ${ZRUN[@]} with ${ZRUN}.

This commit is contained in:
Ciprian Dorin Craciun 2023-03-05 17:26:36 +02:00
parent c0708a6c3e
commit 68f3d882d7
10 changed files with 342 additions and 342 deletions

View file

@ -8,176 +8,176 @@
:: benchmark / server / http-fast / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-fast "${@}" --processes 1 --threads 1 :: benchmark / server / http-fast / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' http-fast "${@}" --processes 1 --threads 1
:: benchmark / server / http-fast / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-fast "${@}" --processes 2 --threads 1 :: benchmark / server / http-fast / 2x1 :: exec -- "${ZRUN}" ':: benchmark / server' http-fast "${@}" --processes 2 --threads 1
:: benchmark / server / http-fast / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-fast "${@}" --processes 1 --threads 2 :: benchmark / server / http-fast / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' http-fast "${@}" --processes 1 --threads 2
:: benchmark / server / http-fast / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-fast "${@}" --processes 2 --threads 2 :: benchmark / server / http-fast / 2x2 :: exec -- "${ZRUN}" ':: benchmark / server' http-fast "${@}" --processes 2 --threads 2
:: benchmark / server / http-go / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-go "${@}" --processes 1 --threads 1 :: benchmark / server / http-go / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' http-go "${@}" --processes 1 --threads 1
:: benchmark / server / http-go / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-go "${@}" --processes 2 --threads 1 :: benchmark / server / http-go / 2x1 :: exec -- "${ZRUN}" ':: benchmark / server' http-go "${@}" --processes 2 --threads 1
:: benchmark / server / http-go / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-go "${@}" --processes 1 --threads 2 :: benchmark / server / http-go / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' http-go "${@}" --processes 1 --threads 2
:: benchmark / server / http-go / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-go "${@}" --processes 2 --threads 2 :: benchmark / server / http-go / 2x2 :: exec -- "${ZRUN}" ':: benchmark / server' http-go "${@}" --processes 2 --threads 2
:: benchmark / server / https-fast / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-fast "${@}" --processes 1 --threads 1 :: benchmark / server / https-fast / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' https-fast "${@}" --processes 1 --threads 1
:: benchmark / server / https-fast / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-fast "${@}" --processes 2 --threads 1 :: benchmark / server / https-fast / 2x1 :: exec -- "${ZRUN}" ':: benchmark / server' https-fast "${@}" --processes 2 --threads 1
:: benchmark / server / https-fast / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-fast "${@}" --processes 1 --threads 2 :: benchmark / server / https-fast / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' https-fast "${@}" --processes 1 --threads 2
:: benchmark / server / https-fast / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-fast "${@}" --processes 2 --threads 2 :: benchmark / server / https-fast / 2x2 :: exec -- "${ZRUN}" ':: benchmark / server' https-fast "${@}" --processes 2 --threads 2
:: benchmark / server / https-go / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-go "${@}" --processes 1 --threads 1 :: benchmark / server / https-go / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' https-go "${@}" --processes 1 --threads 1
:: benchmark / server / https-go / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-go "${@}" --processes 2 --threads 1 :: benchmark / server / https-go / 2x1 :: exec -- "${ZRUN}" ':: benchmark / server' https-go "${@}" --processes 2 --threads 1
:: benchmark / server / https-go / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-go "${@}" --processes 1 --threads 2 :: benchmark / server / https-go / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' https-go "${@}" --processes 1 --threads 2
:: benchmark / server / https-go / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-go "${@}" --processes 2 --threads 2 :: benchmark / server / https-go / 2x2 :: exec -- "${ZRUN}" ':: benchmark / server' https-go "${@}" --processes 2 --threads 2
:: benchmark / server / http2-go / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http2-go "${@}" --processes 1 --threads 1 :: benchmark / server / http2-go / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' http2-go "${@}" --processes 1 --threads 1
:: benchmark / server / http2-go / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http2-go "${@}" --processes 2 --threads 1 :: benchmark / server / http2-go / 2x1 :: exec -- "${ZRUN}" ':: benchmark / server' http2-go "${@}" --processes 2 --threads 1
:: benchmark / server / http2-go / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http2-go "${@}" --processes 1 --threads 2 :: benchmark / server / http2-go / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' http2-go "${@}" --processes 1 --threads 2
:: benchmark / server / http2-go / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http2-go "${@}" --processes 2 --threads 2 :: benchmark / server / http2-go / 2x2 :: exec -- "${ZRUN}" ':: benchmark / server' http2-go "${@}" --processes 2 --threads 2
:: benchmark / server / https-split / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-split "${@}" --processes 1 --threads 1 :: benchmark / server / https-split / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' https-split "${@}" --processes 1 --threads 1
:: benchmark / server / https-split / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-split "${@}" --processes 2 --threads 1 :: benchmark / server / https-split / 2x1 :: exec -- "${ZRUN}" ':: benchmark / server' https-split "${@}" --processes 2 --threads 1
:: benchmark / server / https-split / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-split "${@}" --processes 1 --threads 2 :: benchmark / server / https-split / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' https-split "${@}" --processes 1 --threads 2
:: benchmark / server / https-split / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' https-split "${@}" --processes 2 --threads 2 :: benchmark / server / https-split / 2x2 :: exec -- "${ZRUN}" ':: benchmark / server' https-split "${@}" --processes 2 --threads 2
:: benchmark / server / http2-split / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http2-split "${@}" --processes 1 --threads 1 :: benchmark / server / http2-split / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' http2-split "${@}" --processes 1 --threads 1
:: benchmark / server / http2-split / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http2-split "${@}" --processes 2 --threads 1 :: benchmark / server / http2-split / 2x1 :: exec -- "${ZRUN}" ':: benchmark / server' http2-split "${@}" --processes 2 --threads 1
:: benchmark / server / http2-split / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http2-split "${@}" --processes 1 --threads 2 :: benchmark / server / http2-split / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' http2-split "${@}" --processes 1 --threads 2
:: benchmark / server / http2-split / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http2-split "${@}" --processes 2 --threads 2 :: benchmark / server / http2-split / 2x2 :: exec -- "${ZRUN}" ':: benchmark / server' http2-split "${@}" --processes 2 --threads 2
:: benchmark / server / http3-quic / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http3-quic "${@}" --processes 1 --threads 1 :: benchmark / server / http3-quic / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' http3-quic "${@}" --processes 1 --threads 1
:: benchmark / server / http3-quic / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http3-quic "${@}" --processes 1 --threads 2 :: benchmark / server / http3-quic / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' http3-quic "${@}" --processes 1 --threads 2
:: benchmark / server / http-all / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-all "${@}" --processes 1 --threads 1 :: benchmark / server / http-all / 1x1 :: exec -- "${ZRUN}" ':: benchmark / server' http-all "${@}" --processes 1 --threads 1
:: benchmark / server / http-all / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server' http-all "${@}" --processes 1 --threads 2 :: benchmark / server / http-all / 1x2 :: exec -- "${ZRUN}" ':: benchmark / server' http-all "${@}" --processes 1 --threads 2
:: benchmark / wrk / http / 16384 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 16384 --timeout 6s :: benchmark / wrk / http / 16384 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 16384 --timeout 6s
:: benchmark / wrk / http / 4096 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 4096 :: benchmark / wrk / http / 4096 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 4096
:: benchmark / wrk / http / 2048 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 2048 :: benchmark / wrk / http / 2048 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 2048
:: benchmark / wrk / http / 1024 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 1024 :: benchmark / wrk / http / 1024 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 1024
:: benchmark / wrk / http / 512 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 512 :: benchmark / wrk / http / 512 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 512
:: benchmark / wrk / http / 256 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 256 :: benchmark / wrk / http / 256 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 256
:: benchmark / wrk / http / 128 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 128 :: benchmark / wrk / http / 128 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 128
:: benchmark / wrk / http / 64 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 64 :: benchmark / wrk / http / 64 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 64
:: benchmark / wrk / http / 32 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 32 :: benchmark / wrk / http / 32 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 32
:: benchmark / wrk / http / 16 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 16 :: benchmark / wrk / http / 16 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 2 --connections 16
:: benchmark / wrk / http / 8 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 1 --connections 8 :: benchmark / wrk / http / 8 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 1 --connections 8
:: benchmark / wrk / http / 4 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 1 --connections 4 :: benchmark / wrk / http / 4 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 1 --connections 4
:: benchmark / wrk / http / 2 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 1 --connections 2 :: benchmark / wrk / http / 2 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 1 --connections 2
:: benchmark / wrk / http / 1 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / http' "${@}" --threads 1 --connections 1 :: benchmark / wrk / http / 1 :: exec -- "${ZRUN}" ':: benchmark / wrk / http' "${@}" --threads 1 --connections 1
:: benchmark / wrk / https / 16384 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 16384 --timeout 6s :: benchmark / wrk / https / 16384 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 16384 --timeout 6s
:: benchmark / wrk / https / 4096 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 4096 :: benchmark / wrk / https / 4096 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 4096
:: benchmark / wrk / https / 2048 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 2048 :: benchmark / wrk / https / 2048 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 2048
:: benchmark / wrk / https / 1024 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 1024 :: benchmark / wrk / https / 1024 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 1024
:: benchmark / wrk / https / 512 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 512 :: benchmark / wrk / https / 512 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 512
:: benchmark / wrk / https / 256 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 256 :: benchmark / wrk / https / 256 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 256
:: benchmark / wrk / https / 128 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 128 :: benchmark / wrk / https / 128 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 128
:: benchmark / wrk / https / 64 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 64 :: benchmark / wrk / https / 64 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 64
:: benchmark / wrk / https / 32 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 32 :: benchmark / wrk / https / 32 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 32
:: benchmark / wrk / https / 16 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 16 :: benchmark / wrk / https / 16 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 2 --connections 16
:: benchmark / wrk / https / 8 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 1 --connections 8 :: benchmark / wrk / https / 8 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 1 --connections 8
:: benchmark / wrk / https / 4 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 1 --connections 4 :: benchmark / wrk / https / 4 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 1 --connections 4
:: benchmark / wrk / https / 2 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 1 --connections 2 :: benchmark / wrk / https / 2 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 1 --connections 2
:: benchmark / wrk / https / 1 :: exec -- "${ZRUN[@]}" ':: benchmark / wrk / https' "${@}" --threads 1 --connections 1 :: benchmark / wrk / https / 1 :: exec -- "${ZRUN}" ':: benchmark / wrk / https' "${@}" --threads 1 --connections 1
:: benchmark / h1load / http / 16384 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 16384 -w 6000 :: benchmark / h1load / http / 16384 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 16384 -w 6000
:: benchmark / h1load / http / 4096 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 4096 :: benchmark / h1load / http / 4096 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 4096
:: benchmark / h1load / http / 2048 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 2048 :: benchmark / h1load / http / 2048 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 2048
:: benchmark / h1load / http / 1024 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 1024 :: benchmark / h1load / http / 1024 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 1024
:: benchmark / h1load / http / 512 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 512 :: benchmark / h1load / http / 512 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 512
:: benchmark / h1load / http / 256 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 256 :: benchmark / h1load / http / 256 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 256
:: benchmark / h1load / http / 128 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 128 :: benchmark / h1load / http / 128 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 128
:: benchmark / h1load / http / 64 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 64 :: benchmark / h1load / http / 64 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 64
:: benchmark / h1load / http / 32 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 32 :: benchmark / h1load / http / 32 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 32
:: benchmark / h1load / http / 16 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 2 -c 16 :: benchmark / h1load / http / 16 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 2 -c 16
:: benchmark / h1load / http / 8 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 1 -c 8 :: benchmark / h1load / http / 8 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 1 -c 8
:: benchmark / h1load / http / 4 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 1 -c 4 :: benchmark / h1load / http / 4 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 1 -c 4
:: benchmark / h1load / http / 2 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 1 -c 2 :: benchmark / h1load / http / 2 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 1 -c 2
:: benchmark / h1load / http / 1 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / http' "${@}" -t 1 -c 1 :: benchmark / h1load / http / 1 :: exec -- "${ZRUN}" ':: benchmark / h1load / http' "${@}" -t 1 -c 1
:: benchmark / h1load / https / 16384 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 16384 -w 6000 :: benchmark / h1load / https / 16384 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 16384 -w 6000
:: benchmark / h1load / https / 4096 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 4096 :: benchmark / h1load / https / 4096 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 4096
:: benchmark / h1load / https / 2048 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 2048 :: benchmark / h1load / https / 2048 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 2048
:: benchmark / h1load / https / 1024 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 1024 :: benchmark / h1load / https / 1024 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 1024
:: benchmark / h1load / https / 512 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 512 :: benchmark / h1load / https / 512 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 512
:: benchmark / h1load / https / 256 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 256 :: benchmark / h1load / https / 256 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 256
:: benchmark / h1load / https / 128 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 128 :: benchmark / h1load / https / 128 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 128
:: benchmark / h1load / https / 64 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 64 :: benchmark / h1load / https / 64 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 64
:: benchmark / h1load / https / 32 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 32 :: benchmark / h1load / https / 32 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 32
:: benchmark / h1load / https / 16 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 2 -c 16 :: benchmark / h1load / https / 16 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 2 -c 16
:: benchmark / h1load / https / 8 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 1 -c 8 :: benchmark / h1load / https / 8 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 1 -c 8
:: benchmark / h1load / https / 4 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 1 -c 4 :: benchmark / h1load / https / 4 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 1 -c 4
:: benchmark / h1load / https / 2 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 1 -c 2 :: benchmark / h1load / https / 2 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 1 -c 2
:: benchmark / h1load / https / 1 :: exec -- "${ZRUN[@]}" ':: benchmark / h1load / https' "${@}" -t 1 -c 1 :: benchmark / h1load / https / 1 :: exec -- "${ZRUN}" ':: benchmark / h1load / https' "${@}" -t 1 -c 1
:: benchmark / h2load / https / 16384 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 16384 --h1 --connection-inactivity-timeout 6s :: benchmark / h2load / https / 16384 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 16384 --h1 --connection-inactivity-timeout 6s
:: benchmark / h2load / https / 4096 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 4096 --h1 :: benchmark / h2load / https / 4096 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 4096 --h1
:: benchmark / h2load / https / 2048 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 2048 --h1 :: benchmark / h2load / https / 2048 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 2048 --h1
:: benchmark / h2load / https / 1024 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 1024 --h1 :: benchmark / h2load / https / 1024 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 1024 --h1
:: benchmark / h2load / https / 512 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 512 --h1 :: benchmark / h2load / https / 512 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 512 --h1
:: benchmark / h2load / https / 256 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 256 --h1 :: benchmark / h2load / https / 256 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 256 --h1
:: benchmark / h2load / https / 128 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 128 --h1 :: benchmark / h2load / https / 128 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 128 --h1
:: benchmark / h2load / https / 64 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 64 --h1 :: benchmark / h2load / https / 64 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 64 --h1
:: benchmark / h2load / https / 32 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 32 --h1 :: benchmark / h2load / https / 32 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 32 --h1
:: benchmark / h2load / https / 16 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 16 --h1 :: benchmark / h2load / https / 16 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 2 --clients 16 --h1
:: benchmark / h2load / https / 8 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 1 --clients 8 --h1 :: benchmark / h2load / https / 8 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 1 --clients 8 --h1
:: benchmark / h2load / https / 4 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 1 --clients 4 --h1 :: benchmark / h2load / https / 4 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 1 --clients 4 --h1
:: benchmark / h2load / https / 2 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 1 --clients 2 --h1 :: benchmark / h2load / https / 2 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 1 --clients 2 --h1
:: benchmark / h2load / https / 1 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / https' "${@}" --threads 1 --clients 1 --h1 :: benchmark / h2load / https / 1 :: exec -- "${ZRUN}" ':: benchmark / h2load / https' "${@}" --threads 1 --clients 1 --h1
:: benchmark / h2load / http2 / 16384 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 16384 --connection-inactivity-timeout 6s :: benchmark / h2load / http2 / 16384 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 16384 --connection-inactivity-timeout 6s
:: benchmark / h2load / http2 / 4096 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 4096 :: benchmark / h2load / http2 / 4096 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 4096
:: benchmark / h2load / http2 / 2048 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 2048 :: benchmark / h2load / http2 / 2048 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 2048
:: benchmark / h2load / http2 / 1024 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 1024 :: benchmark / h2load / http2 / 1024 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 1024
:: benchmark / h2load / http2 / 512 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 512 :: benchmark / h2load / http2 / 512 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 512
:: benchmark / h2load / http2 / 256 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 256 :: benchmark / h2load / http2 / 256 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 256
:: benchmark / h2load / http2 / 128 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 128 :: benchmark / h2load / http2 / 128 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 128
:: benchmark / h2load / http2 / 64 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 64 :: benchmark / h2load / http2 / 64 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 64
:: benchmark / h2load / http2 / 32 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 32 :: benchmark / h2load / http2 / 32 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 32
:: benchmark / h2load / http2 / 16 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 16 :: benchmark / h2load / http2 / 16 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 2 --clients 16
:: benchmark / h2load / http2 / 8 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 1 --clients 8 :: benchmark / h2load / http2 / 8 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 1 --clients 8
:: benchmark / h2load / http2 / 4 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 1 --clients 4 :: benchmark / h2load / http2 / 4 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 1 --clients 4
:: benchmark / h2load / http2 / 2 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 1 --clients 2 :: benchmark / h2load / http2 / 2 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 1 --clients 2
:: benchmark / h2load / http2 / 1 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http2' "${@}" --threads 1 --clients 1 :: benchmark / h2load / http2 / 1 :: exec -- "${ZRUN}" ':: benchmark / h2load / http2' "${@}" --threads 1 --clients 1
:: benchmark / h2load / http3 / 16384 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 16384 --connection-inactivity-timeout 6s :: benchmark / h2load / http3 / 16384 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 16384 --connection-inactivity-timeout 6s
:: benchmark / h2load / http3 / 4096 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 4096 :: benchmark / h2load / http3 / 4096 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 4096
:: benchmark / h2load / http3 / 2048 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 2048 :: benchmark / h2load / http3 / 2048 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 2048
:: benchmark / h2load / http3 / 1024 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 1024 :: benchmark / h2load / http3 / 1024 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 1024
:: benchmark / h2load / http3 / 512 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 512 :: benchmark / h2load / http3 / 512 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 512
:: benchmark / h2load / http3 / 256 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 256 :: benchmark / h2load / http3 / 256 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 256
:: benchmark / h2load / http3 / 128 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 128 :: benchmark / h2load / http3 / 128 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 128
:: benchmark / h2load / http3 / 64 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 64 :: benchmark / h2load / http3 / 64 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 64
:: benchmark / h2load / http3 / 32 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 32 :: benchmark / h2load / http3 / 32 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 32
:: benchmark / h2load / http3 / 16 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 16 :: benchmark / h2load / http3 / 16 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 2 --clients 16
:: benchmark / h2load / http3 / 8 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 1 --clients 8 :: benchmark / h2load / http3 / 8 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 1 --clients 8
:: benchmark / h2load / http3 / 4 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 1 --clients 4 :: benchmark / h2load / http3 / 4 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 1 --clients 4
:: benchmark / h2load / http3 / 2 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 1 --clients 2 :: benchmark / h2load / http3 / 2 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 1 --clients 2
:: benchmark / h2load / http3 / 1 :: exec -- "${ZRUN[@]}" ':: benchmark / h2load / http3' "${@}" --threads 1 --clients 1 :: benchmark / h2load / http3 / 1 :: exec -- "${ZRUN}" ':: benchmark / h2load / http3' "${@}" --threads 1 --clients 1
:: benchmark / hey / http / 16384 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 16384 -t 6s :: benchmark / hey / http / 16384 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 16384 -t 6s
:: benchmark / hey / http / 4096 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 4096 :: benchmark / hey / http / 4096 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 4096
:: benchmark / hey / http / 2048 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 2048 :: benchmark / hey / http / 2048 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 2048
:: benchmark / hey / http / 1024 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 1024 :: benchmark / hey / http / 1024 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 1024
:: benchmark / hey / http / 512 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 512 :: benchmark / hey / http / 512 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 512
:: benchmark / hey / http / 256 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 256 :: benchmark / hey / http / 256 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 256
:: benchmark / hey / http / 128 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 128 :: benchmark / hey / http / 128 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 128
:: benchmark / hey / http / 64 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 64 :: benchmark / hey / http / 64 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 64
:: benchmark / hey / http / 32 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 32 :: benchmark / hey / http / 32 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 32
:: benchmark / hey / http / 16 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 16 :: benchmark / hey / http / 16 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 2 -c 16
:: benchmark / hey / http / 8 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 1 -c 8 :: benchmark / hey / http / 8 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 1 -c 8
:: benchmark / hey / http / 4 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 1 -c 4 :: benchmark / hey / http / 4 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 1 -c 4
:: benchmark / hey / http / 2 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 1 -c 2 :: benchmark / hey / http / 2 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 1 -c 2
:: benchmark / hey / http / 1 :: exec -- "${ZRUN[@]}" ':: benchmark / hey / http' "${@}" -cpus 1 -c 1 :: benchmark / hey / http / 1 :: exec -- "${ZRUN}" ':: benchmark / hey / http' "${@}" -cpus 1 -c 1
--<< benchmark / server --<< benchmark / server
"${ZRUN[@]}" ':: go / build / kawipiko-server / release / native' "${ZRUN}" ':: go / build / kawipiko-server / release / native'
test "${#}" -ge 1 test "${#}" -ge 1
_mode="${1}" _mode="${1}"
shift -- 1 shift -- 1
@ -252,7 +252,7 @@
# --timeout-disable # --timeout-disable
) )
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / server' \ "${ZRUN}" ':: benchmark / execute / server' \
noenvironment \ noenvironment \
./.outputs/binaries/kawipiko-server--release--native \ ./.outputs/binaries/kawipiko-server--release--native \
--archive "${_archive}" \ --archive "${_archive}" \
@ -266,7 +266,7 @@
<< benchmark / server / profile / cpu << benchmark / server / profile / cpu
test "${#}" -ge 1 test "${#}" -ge 1
exec -- "${ZRUN[@]}" ':: benchmark / server' \ exec -- "${ZRUN}" ':: benchmark / server' \
"${@}" \ "${@}" \
--profile-cpu ./.outputs/server-cpu.txt \ --profile-cpu ./.outputs/server-cpu.txt \
# #
@ -274,7 +274,7 @@
<< benchmark / server / profile / mem << benchmark / server / profile / mem
test "${#}" -ge 1 test "${#}" -ge 1
exec -- "${ZRUN[@]}" ':: benchmark / server' \ exec -- "${ZRUN}" ':: benchmark / server' \
"${@}" \ "${@}" \
--profile-mem ./.outputs/server-mem.txt \ --profile-mem ./.outputs/server-mem.txt \
# #
@ -339,8 +339,8 @@
:: benchmark / nginx / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / nginx' 1 "${@}" :: benchmark / nginx / 1x1 :: exec -- "${ZRUN}" ':: benchmark / nginx' 1 "${@}"
:: benchmark / nginx / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / nginx' 2 "${@}" :: benchmark / nginx / 2x1 :: exec -- "${ZRUN}" ':: benchmark / nginx' 2 "${@}"
<< benchmark / nginx << benchmark / nginx
test "${#}" -ge 1 test "${#}" -ge 1
@ -366,8 +366,8 @@
-p . -p .
) )
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / multiple' "${_count}" \ "${ZRUN}" ':: benchmark / execute / multiple' "${_count}" \
"${ZRUN[@]}" ':: benchmark / execute / server' \ "${ZRUN}" ':: benchmark / execute / server' \
noenvironment \ noenvironment \
./.bin/nginx \ ./.bin/nginx \
"${_arguments[@]}" \ "${_arguments[@]}" \
@ -382,20 +382,20 @@
:: benchmark / dummy / fasthttp / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / fasthttp' 1 1 "${@}" :: benchmark / dummy / fasthttp / 1x1 :: exec -- "${ZRUN}" ':: benchmark / dummy / fasthttp' 1 1 "${@}"
:: benchmark / dummy / fasthttp / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / fasthttp' 1 2 "${@}" :: benchmark / dummy / fasthttp / 1x2 :: exec -- "${ZRUN}" ':: benchmark / dummy / fasthttp' 1 2 "${@}"
:: benchmark / dummy / fasthttp / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / fasthttp' 2 1 "${@}" :: benchmark / dummy / fasthttp / 2x1 :: exec -- "${ZRUN}" ':: benchmark / dummy / fasthttp' 2 1 "${@}"
:: benchmark / dummy / fasthttp / 2x2 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / fasthttp' 2 2 "${@}" :: benchmark / dummy / fasthttp / 2x2 :: exec -- "${ZRUN}" ':: benchmark / dummy / fasthttp' 2 2 "${@}"
--<< benchmark / dummy / fasthttp --<< benchmark / dummy / fasthttp
"${ZRUN[@]}" ':: go / build / kawipiko-server-dummy / release / native' "${ZRUN}" ':: go / build / kawipiko-server-dummy / release / native'
test "${#}" -ge 2 test "${#}" -ge 2
_count="${1}" _count="${1}"
_threads="${2}" _threads="${2}"
shift -- 2 shift -- 2
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / multiple' "${_count}" \ "${ZRUN}" ':: benchmark / execute / multiple' "${_count}" \
"${ZRUN[@]}" ':: benchmark / execute / server' \ "${ZRUN}" ':: benchmark / execute / server' \
noenvironment \ noenvironment \
./.outputs/binaries/kawipiko-server-dummy--release--native \ ./.outputs/binaries/kawipiko-server-dummy--release--native \
"127.9.185.194:8080" \ "127.9.185.194:8080" \
@ -407,7 +407,7 @@
<< benchmark / dummy / haproxy / 1x2 << benchmark / dummy / haproxy / 1x2
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / server' \ "${ZRUN}" ':: benchmark / execute / server' \
noenvironment \ noenvironment \
./.bin/haproxy \ ./.bin/haproxy \
-db \ -db \
@ -417,16 +417,16 @@
!! !!
:: benchmark / dummy / nginx / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / nginx' 1 "${@}" :: benchmark / dummy / nginx / 1x1 :: exec -- "${ZRUN}" ':: benchmark / dummy / nginx' 1 "${@}"
:: benchmark / dummy / nginx / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / nginx' 2 "${@}" :: benchmark / dummy / nginx / 2x1 :: exec -- "${ZRUN}" ':: benchmark / dummy / nginx' 2 "${@}"
--<< benchmark / dummy / nginx --<< benchmark / dummy / nginx
test "${#}" -ge 1 test "${#}" -ge 1
_count="${1}" _count="${1}"
shift -- 1 shift -- 1
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / multiple' "${_count}" \ "${ZRUN}" ':: benchmark / execute / multiple' "${_count}" \
"${ZRUN[@]}" ':: benchmark / execute / server' \ "${ZRUN}" ':: benchmark / execute / server' \
noenvironment \ noenvironment \
./.bin/nginx \ ./.bin/nginx \
-c ./examples/dummy/nginx-dummy.conf \ -c ./examples/dummy/nginx-dummy.conf \
@ -437,15 +437,15 @@
!! !!
:: benchmark / dummy / nodejs / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / nodejs' 1 "${@}" :: benchmark / dummy / nodejs / 1x1 :: exec -- "${ZRUN}" ':: benchmark / dummy / nodejs' 1 "${@}"
--<< benchmark / dummy / nodejs --<< benchmark / dummy / nodejs
test "${#}" -ge 1 test "${#}" -ge 1
_count="${1}" _count="${1}"
shift -- 1 shift -- 1
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / multiple' "${_count}" \ "${ZRUN}" ':: benchmark / execute / multiple' "${_count}" \
"${ZRUN[@]}" ':: benchmark / execute / server' \ "${ZRUN}" ':: benchmark / execute / server' \
noenvironment \ noenvironment \
./.bin/node16 \ ./.bin/node16 \
-- \ -- \
@ -456,16 +456,16 @@
!! !!
:: benchmark / dummy / httpterm / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / httpterm' 1 "${@}" :: benchmark / dummy / httpterm / 1x1 :: exec -- "${ZRUN}" ':: benchmark / dummy / httpterm' 1 "${@}"
:: benchmark / dummy / httpterm / 2x1 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / httpterm' 2 "${@}" :: benchmark / dummy / httpterm / 2x1 :: exec -- "${ZRUN}" ':: benchmark / dummy / httpterm' 2 "${@}"
--<< benchmark / dummy / httpterm --<< benchmark / dummy / httpterm
test "${#}" -ge 1 test "${#}" -ge 1
_count="${1}" _count="${1}"
shift -- 1 shift -- 1
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / multiple' "${_count}" \ "${ZRUN}" ':: benchmark / execute / multiple' "${_count}" \
"${ZRUN[@]}" ':: benchmark / execute / server' \ "${ZRUN}" ':: benchmark / execute / server' \
noenvironment \ noenvironment \
./.bin/httpterm \ ./.bin/httpterm \
-db \ -db \
@ -482,11 +482,11 @@
<< benchmark / wrk / http << benchmark / wrk / http
exec -- "${ZRUN[@]}" ':: benchmark / wrk' http 127.9.185.194:8080 "${@}" exec -- "${ZRUN}" ':: benchmark / wrk' http 127.9.185.194:8080 "${@}"
!! !!
<< benchmark / wrk / https << benchmark / wrk / https
exec -- "${ZRUN[@]}" ':: benchmark / wrk' https 127.9.185.194:8443 "${@}" exec -- "${ZRUN}" ':: benchmark / wrk' https 127.9.185.194:8443 "${@}"
!! !!
--<< benchmark / wrk --<< benchmark / wrk
@ -505,8 +505,8 @@
_path='' _path=''
fi fi
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / client' \ "${ZRUN}" ':: benchmark / execute / client' \
"${ZRUN[@]}" ':: tools / wrk' \ "${ZRUN}" ':: tools / wrk' \
"${@}" \ "${@}" \
-- \ -- \
"${_url_base}/${_path}" \ "${_url_base}/${_path}" \
@ -517,11 +517,11 @@
<< benchmark / wrk / with-paths / http << benchmark / wrk / with-paths / http
exec -- "${ZRUN[@]}" ':: benchmark / wrk / with-paths' http 127.9.185.194:8080 "${@}" exec -- "${ZRUN}" ':: benchmark / wrk / with-paths' http 127.9.185.194:8080 "${@}"
!! !!
<< benchmark / wrk / with-paths / https << benchmark / wrk / with-paths / https
exec -- "${ZRUN[@]}" ':: benchmark / wrk / with-paths' https 127.9.185.194:8443 "${@}" exec -- "${ZRUN}" ':: benchmark / wrk / with-paths' https 127.9.185.194:8443 "${@}"
!! !!
--<< benchmark / wrk / with-paths --<< benchmark / wrk / with-paths
@ -532,8 +532,8 @@
_paths="${1}" _paths="${1}"
shift -- 1 shift -- 1
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / client' \ "${ZRUN}" ':: benchmark / execute / client' \
"${ZRUN[@]}" ':: tools / wrk' \ "${ZRUN}" ':: tools / wrk' \
"${@}" \ "${@}" \
--script ../kawipiko-examples/sources/wrk-paths-from-file.lua \ --script ../kawipiko-examples/sources/wrk-paths-from-file.lua \
-- \ -- \
@ -546,11 +546,11 @@
<< benchmark / h1load / http << benchmark / h1load / http
exec -- "${ZRUN[@]}" ':: benchmark / h1load' http 127.9.185.194:8080 "${@}" exec -- "${ZRUN}" ':: benchmark / h1load' http 127.9.185.194:8080 "${@}"
!! !!
<< benchmark / h1load / https << benchmark / h1load / https
exec -- "${ZRUN[@]}" ':: benchmark / h1load' https 127.9.185.194:8443 "${@}" exec -- "${ZRUN}" ':: benchmark / h1load' https 127.9.185.194:8443 "${@}"
!! !!
--<< benchmark / h1load --<< benchmark / h1load
@ -569,8 +569,8 @@
_path='' _path=''
fi fi
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / client' \ "${ZRUN}" ':: benchmark / execute / client' \
"${ZRUN[@]}" ':: tools / h1load' \ "${ZRUN}" ':: tools / h1load' \
"${@}" \ "${@}" \
"${_url_base}/${_path}" \ "${_url_base}/${_path}" \
# #
@ -580,15 +580,15 @@
<< benchmark / h2load / https << benchmark / h2load / https
exec -- "${ZRUN[@]}" ':: benchmark / h2load' https 127.9.185.194:8443 "${@}" --npn-list=http/1.1 exec -- "${ZRUN}" ':: benchmark / h2load' https 127.9.185.194:8443 "${@}" --npn-list=http/1.1
!! !!
<< benchmark / h2load / http2 << benchmark / h2load / http2
exec -- "${ZRUN[@]}" ':: benchmark / h2load' https 127.9.185.194:8444 "${@}" --npn-list=h2 exec -- "${ZRUN}" ':: benchmark / h2load' https 127.9.185.194:8444 "${@}" --npn-list=h2
!! !!
<< benchmark / h2load / http3 << benchmark / h2load / http3
exec -- "${ZRUN[@]}" ':: benchmark / h2load' https 127.9.185.194:8445 "${@}" --npn-list=h3 exec -- "${ZRUN}" ':: benchmark / h2load' https 127.9.185.194:8445 "${@}" --npn-list=h3
!! !!
--<< benchmark / h2load --<< benchmark / h2load
@ -607,8 +607,8 @@
_path='' _path=''
fi fi
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / client' \ "${ZRUN}" ':: benchmark / execute / client' \
"${ZRUN[@]}" ':: tools / h2load' \ "${ZRUN}" ':: tools / h2load' \
"${@}" \ "${@}" \
-- \ -- \
"${_url_base}/${_path}" \ "${_url_base}/${_path}" \
@ -619,11 +619,11 @@
<< benchmark / hey / http << benchmark / hey / http
exec -- "${ZRUN[@]}" ':: benchmark / hey' http 127.9.185.194:8080 "${@}" exec -- "${ZRUN}" ':: benchmark / hey' http 127.9.185.194:8080 "${@}"
!! !!
<< benchmark / hey / https << benchmark / hey / https
exec -- "${ZRUN[@]}" ':: benchmark / hey' https 127.9.185.194:8443 "${@}" exec -- "${ZRUN}" ':: benchmark / hey' https 127.9.185.194:8443 "${@}"
!! !!
--<< benchmark / hey --<< benchmark / hey
@ -642,8 +642,8 @@
_path='' _path=''
fi fi
exec -- \ exec -- \
"${ZRUN[@]}" ':: benchmark / execute / client' \ "${ZRUN}" ':: benchmark / execute / client' \
"${ZRUN[@]}" ':: tools / hey' \ "${ZRUN}" ':: tools / hey' \
"${@}" \ "${@}" \
-- \ -- \
"${_url_base}/${_path}" \ "${_url_base}/${_path}" \
@ -661,7 +661,7 @@
test "${#}" -ge 1 test "${#}" -ge 1
_nodaemon="$( exec -- readlink -e -- "$( type -P -- nodaemon )" )" _nodaemon="$( exec -- readlink -e -- "$( type -P -- nodaemon )" )"
if test ! "/proc/${PPID}/exe" -ef "${_nodaemon}" ; then if test ! "/proc/${PPID}/exe" -ef "${_nodaemon}" ; then
exec -- nodaemon "${ZRUN[@]}" ':: benchmark / execute / server' "${@}" exec -- nodaemon "${ZRUN}" ':: benchmark / execute / server' "${@}"
fi fi
_wrapper=() _wrapper=()
if test "${1}" == noenvironment ; then if test "${1}" == noenvironment ; then
@ -694,7 +694,7 @@
test "${#}" -ge 1 test "${#}" -ge 1
_nodaemon="$( exec -- readlink -e -- "$( type -P -- nodaemon )" )" _nodaemon="$( exec -- readlink -e -- "$( type -P -- nodaemon )" )"
if test ! "/proc/${PPID}/exe" -ef "${_nodaemon}" ; then if test ! "/proc/${PPID}/exe" -ef "${_nodaemon}" ; then
exec -- nodaemon "${ZRUN[@]}" ':: benchmark / execute / client' "${@}" exec -- nodaemon "${ZRUN}" ':: benchmark / execute / client' "${@}"
fi fi
_wrapper=() _wrapper=()
if test "${1}" == noenvironment ; then if test "${1}" == noenvironment ; then
@ -727,7 +727,7 @@
test "${#}" -ge 2 test "${#}" -ge 2
_nodaemon="$( exec -- readlink -e -- "$( type -P -- nodaemon )" )" _nodaemon="$( exec -- readlink -e -- "$( type -P -- nodaemon )" )"
if test ! "/proc/${PPID}/exe" -ef "${_nodaemon}" ; then if test ! "/proc/${PPID}/exe" -ef "${_nodaemon}" ; then
exec -- nodaemon "${ZRUN[@]}" ':: benchmark / execute / multiple' "${@}" exec -- nodaemon "${ZRUN}" ':: benchmark / execute / multiple' "${@}"
fi fi
_count="$( printf -- '%d' "${1}" )" _count="$( printf -- '%d' "${1}" )"
shift -- 1 shift -- 1

View file

@ -9,11 +9,11 @@
<< clients / nghttp / https << clients / nghttp / https
exec -- "${ZRUN[@]}" ':: clients / nghttp' https 127.9.185.194:8443 "${@}" exec -- "${ZRUN}" ':: clients / nghttp' https 127.9.185.194:8443 "${@}"
!! !!
<< clients / nghttp / http2 << clients / nghttp / http2
exec -- "${ZRUN[@]}" ':: clients / nghttp' https 127.9.185.194:8444 "${@}" exec -- "${ZRUN}" ':: clients / nghttp' https 127.9.185.194:8444 "${@}"
!! !!
--<< clients / nghttp --<< clients / nghttp
@ -32,7 +32,7 @@
_path='' _path=''
fi fi
exec -- \ exec -- \
"${ZRUN[@]}" ':: tools / nghttp' \ "${ZRUN}" ':: tools / nghttp' \
--null-out \ --null-out \
--stat \ --stat \
"${@}" \ "${@}" \
@ -45,15 +45,15 @@
<< clients / curl / http << clients / curl / http
exec -- "${ZRUN[@]}" ':: clients / curl' http 127.9.185.194:8080 "${@}" --http1.1 exec -- "${ZRUN}" ':: clients / curl' http 127.9.185.194:8080 "${@}" --http1.1
!! !!
<< clients / curl / https << clients / curl / https
exec -- "${ZRUN[@]}" ':: clients / curl' https 127.9.185.194:8443 "${@}" --http1.1 exec -- "${ZRUN}" ':: clients / curl' https 127.9.185.194:8443 "${@}" --http1.1
!! !!
<< clients / curl / http2 << clients / curl / http2
exec -- "${ZRUN[@]}" ':: clients / curl' https 127.9.185.194:8444 "${@}" --http2 exec -- "${ZRUN}" ':: clients / curl' https 127.9.185.194:8444 "${@}" --http2
!! !!
<< clients / curl << clients / curl
@ -72,7 +72,7 @@
_path='' _path=''
fi fi
exec -- \ exec -- \
"${ZRUN[@]}" ':: tools / curl' \ "${ZRUN}" ':: tools / curl' \
--compressed \ --compressed \
--output /dev/stdout \ --output /dev/stdout \
--dump-header /dev/stdout \ --dump-header /dev/stdout \

View file

@ -10,14 +10,14 @@
<< documentation / all / render << documentation / all / render
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: documentation / manuals / render' "${ZRUN}" ':: documentation / manuals / render'
"${ZRUN[@]}" ':: sources / embedded / documentation' "${ZRUN}" ':: sources / embedded / documentation'
!! !!
<< documentation / all / render / forced << documentation / all / render / forced
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: documentation / manuals / render' "${ZRUN}" ':: documentation / manuals / render'
"${ZRUN[@]}" ':: sources / embedded / documentation' "${ZRUN}" ':: sources / embedded / documentation'
!! !!

View file

@ -9,22 +9,22 @@
<< examples / curl / http << examples / curl / http
exec -- "${ZRUN[@]}" ':: clients / curl' http 127.153.215.30:8080 "${@}" --http1.1 exec -- "${ZRUN}" ':: clients / curl' http 127.153.215.30:8080 "${@}" --http1.1
!! !!
<< examples / curl / https << examples / curl / https
exec -- "${ZRUN[@]}" ':: clients / curl' https 127.153.215.30:8443 "${@}" --http1.1 exec -- "${ZRUN}" ':: clients / curl' https 127.153.215.30:8443 "${@}" --http1.1
!! !!
<< examples / curl / http2 << examples / curl / http2
exec -- "${ZRUN[@]}" ':: clients / curl' https 127.153.215.30:8444 "${@}" --http2 exec -- "${ZRUN}" ':: clients / curl' https 127.153.215.30:8444 "${@}" --http2
!! !!
<< examples / hello-world / archive << examples / hello-world / archive
"${ZRUN[@]}" ':: execute / archiver / debug' \ "${ZRUN}" ':: execute / archiver / debug' \
--sources ./examples/hello-world \ --sources ./examples/hello-world \
--archive ./examples/hello-world.cdb \ --archive ./examples/hello-world.cdb \
--include-folder-listing \ --include-folder-listing \
@ -43,7 +43,7 @@
<< examples / hello-world / serve << examples / hello-world / serve
exec -- "${ZRUN[@]}" ':: execute / server / debug' \ exec -- "${ZRUN}" ':: execute / server / debug' \
\ \
--archive ./examples/hello-world.cdb \ --archive ./examples/hello-world.cdb \
--archive-inmem \ --archive-inmem \
@ -62,7 +62,7 @@
<< examples / hello-world / serve / http-fast << examples / hello-world / serve / http-fast
exec -- "${ZRUN[@]}" ':: examples / hello-world / serve' \ exec -- "${ZRUN}" ':: examples / hello-world / serve' \
\ \
--bind 127.153.215.30:8080 \ --bind 127.153.215.30:8080 \
\ \
@ -72,7 +72,7 @@
<< examples / hello-world / serve / http-all << examples / hello-world / serve / http-all
exec -- "${ZRUN[@]}" ':: examples / hello-world / serve' \ exec -- "${ZRUN}" ':: examples / hello-world / serve' \
\ \
--bind 127.153.215.30:8080 \ --bind 127.153.215.30:8080 \
--bind-2 127.153.215.30:8081 \ --bind-2 127.153.215.30:8081 \
@ -89,7 +89,7 @@
<< examples / huge / archive << examples / huge / archive
exec -- "${ZRUN[@]}" ':: execute / archiver / debug' \ exec -- "${ZRUN}" ':: execute / archiver / debug' \
--sources ./.outputs/examples/huge \ --sources ./.outputs/examples/huge \
--archive ./.outputs/examples/huge.cdb \ --archive ./.outputs/examples/huge.cdb \
--compress gzip \ --compress gzip \
@ -104,7 +104,7 @@
<< examples / huge / serve << examples / huge / serve
exec -- "${ZRUN[@]}" ':: execute / server / debug' \ exec -- "${ZRUN}" ':: execute / server / debug' \
--archive ./.outputs/examples/huge.cdb \ --archive ./.outputs/examples/huge.cdb \
--archive-mmap \ --archive-mmap \
--processes 1 \ --processes 1 \
@ -117,7 +117,7 @@
<< examples / huge / serve / http-fast << examples / huge / serve / http-fast
exec -- "${ZRUN[@]}" ':: examples / huge / serve' \ exec -- "${ZRUN}" ':: examples / huge / serve' \
\ \
--bind 127.153.215.30:8080 \ --bind 127.153.215.30:8080 \
\ \
@ -127,7 +127,7 @@
<< examples / huge / serve / http-all << examples / huge / serve / http-all
exec -- "${ZRUN[@]}" ':: examples / huge / serve' \ exec -- "${ZRUN}" ':: examples / huge / serve' \
\ \
--bind 127.153.215.30:8080 \ --bind 127.153.215.30:8080 \
--bind-2 127.153.215.30:8081 \ --bind-2 127.153.215.30:8081 \

View file

@ -9,18 +9,18 @@
++<< execute / server / debug ++<< execute / server / debug
"${ZRUN[@]}" ':: go / build / kawipiko-server / debug / native' "${ZRUN}" ':: go / build / kawipiko-server / debug / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-server--debug--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-server--debug--native "${@}"
!! !!
<< execute / server / release << execute / server / release
"${ZRUN[@]}" ':: go / build / kawipiko-server / release / native' "${ZRUN}" ':: go / build / kawipiko-server / release / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-server--release--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-server--release--native "${@}"
!! !!
<< execute / server / release / quick << execute / server / release / quick
export -- __BUILD_QUICK=true export -- __BUILD_QUICK=true
"${ZRUN[@]}" ':: go / build / kawipiko-server / release / native' "${ZRUN}" ':: go / build / kawipiko-server / release / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-server--release--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-server--release--native "${@}"
!! !!
@ -28,18 +28,18 @@
++<< execute / archiver / debug ++<< execute / archiver / debug
"${ZRUN[@]}" ':: go / build / kawipiko-archiver / debug / native' "${ZRUN}" ':: go / build / kawipiko-archiver / debug / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-archiver--debug--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-archiver--debug--native "${@}"
!! !!
<< execute / archiver / release << execute / archiver / release
"${ZRUN[@]}" ':: go / build / kawipiko-archiver / release / native' "${ZRUN}" ':: go / build / kawipiko-archiver / release / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-archiver--release--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-archiver--release--native "${@}"
!! !!
<< execute / archiver / release / quick << execute / archiver / release / quick
export -- __BUILD_QUICK=true export -- __BUILD_QUICK=true
"${ZRUN[@]}" ':: go / build / kawipiko-archiver / release / native' "${ZRUN}" ':: go / build / kawipiko-archiver / release / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-archiver--release--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-archiver--release--native "${@}"
!! !!
@ -47,18 +47,18 @@
<< execute / wrapper / debug << execute / wrapper / debug
"${ZRUN[@]}" ':: go / build / kawipiko-wrapper / debug / native' "${ZRUN}" ':: go / build / kawipiko-wrapper / debug / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-wrapper--debug--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-wrapper--debug--native "${@}"
!! !!
<< execute / wrapper / release << execute / wrapper / release
"${ZRUN[@]}" ':: go / build / kawipiko-wrapper / release / native' "${ZRUN}" ':: go / build / kawipiko-wrapper / release / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-wrapper--release--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-wrapper--release--native "${@}"
!! !!
<< execute / wrapper / release / quick << execute / wrapper / release / quick
export -- __BUILD_QUICK=true export -- __BUILD_QUICK=true
"${ZRUN[@]}" ':: go / build / kawipiko-wrapper / release / native' "${ZRUN}" ':: go / build / kawipiko-wrapper / release / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-wrapper--release--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-wrapper--release--native "${@}"
!! !!
@ -66,18 +66,18 @@
<< execute / server-dummy / debug << execute / server-dummy / debug
"${ZRUN[@]}" ':: go / build / kawipiko-server-dummy / debug / native' "${ZRUN}" ':: go / build / kawipiko-server-dummy / debug / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-server-dummy--debug--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-server-dummy--debug--native "${@}"
!! !!
<< execute / server-dummy / release << execute / server-dummy / release
"${ZRUN[@]}" ':: go / build / kawipiko-server-dummy / release / native' "${ZRUN}" ':: go / build / kawipiko-server-dummy / release / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-server-dummy--release--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-server-dummy--release--native "${@}"
!! !!
<< execute / server-dummy / release / quick << execute / server-dummy / release / quick
export -- __BUILD_QUICK=true export -- __BUILD_QUICK=true
"${ZRUN[@]}" ':: go / build / kawipiko-server-dummy / release / native' "${ZRUN}" ':: go / build / kawipiko-server-dummy / release / native'
exec -- env -i -- ./.outputs/binaries/kawipiko-server-dummy--release--native "${@}" exec -- env -i -- ./.outputs/binaries/kawipiko-server-dummy--release--native "${@}"
!! !!

View file

@ -10,44 +10,44 @@
printf -- ':: watch / run / %s :: exec -- "${ZRUN[@]}" ":: watch / run / exec / *" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: watch / run / %s :: exec -- "${ZRUN}" ":: watch / run / exec / *" %q "${@}"\n' "${_main}" "${_main}"
printf -- ':: watch / go / build / %s / debug :: exec -- "${ZRUN[@]}" ":: watch / go / build / * / debug" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: watch / go / build / %s / debug :: exec -- "${ZRUN}" ":: watch / go / build / * / debug" %q "${@}"\n' "${_main}" "${_main}"
printf -- ':: watch / go / execute / %s / debug :: exec -- "${ZRUN[@]}" ":: watch / go / execute / * / debug" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: watch / go / execute / %s / debug :: exec -- "${ZRUN}" ":: watch / go / execute / * / debug" %q "${@}"\n' "${_main}" "${_main}"
printf -- '++:: run / %s :: exec -- "${ZRUN[@]}" ":: run / exec / *" %q "${@}"\n' "${_main}" "${_main}" printf -- '++:: run / %s :: exec -- "${ZRUN}" ":: run / exec / *" %q "${@}"\n' "${_main}" "${_main}"
printf -- '++:: go / execute / %s / debug :: exec -- "${ZRUN[@]}" ":: go / execute / * / debug" %q "${@}"\n' "${_main}" "${_main}" printf -- '++:: go / execute / %s / debug :: exec -- "${ZRUN}" ":: go / execute / * / debug" %q "${@}"\n' "${_main}" "${_main}"
printf -- ':: go / execute / %s / release :: exec -- "${ZRUN[@]}" ":: go / execute / * / release" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: go / execute / %s / release :: exec -- "${ZRUN}" ":: go / execute / * / release" %q "${@}"\n' "${_main}" "${_main}"
printf -- '++:: go / build / %s / debug :: exec -- "${ZRUN[@]}" ":: go / build / * / debug" %q "${@}"\n' "${_main}" "${_main}" printf -- '++:: go / build / %s / debug :: exec -- "${ZRUN}" ":: go / build / * / debug" %q "${@}"\n' "${_main}" "${_main}"
printf -- ':: go / build / %s / release :: exec -- "${ZRUN[@]}" ":: go / build / * / release" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: go / build / %s / release :: exec -- "${ZRUN}" ":: go / build / * / release" %q "${@}"\n' "${_main}" "${_main}"
printf -- ':: go / build / %s / debug / all :: exec -- "${ZRUN[@]}" ":: go / build / * / debug / all" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: go / build / %s / debug / all :: exec -- "${ZRUN}" ":: go / build / * / debug / all" %q "${@}"\n' "${_main}" "${_main}"
printf -- ':: go / build / %s / release / all :: exec -- "${ZRUN[@]}" ":: go / build / * / release / all" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: go / build / %s / release / all :: exec -- "${ZRUN}" ":: go / build / * / release / all" %q "${@}"\n' "${_main}" "${_main}"
printf -- ':: go / build / %s / debug / native :: exec -- "${ZRUN[@]}" ":: go / build / * / debug / native" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: go / build / %s / debug / native :: exec -- "${ZRUN}" ":: go / build / * / debug / native" %q "${@}"\n' "${_main}" "${_main}"
printf -- ':: go / build / %s / release / native :: exec -- "${ZRUN[@]}" ":: go / build / * / release / native" %q "${@}"\n' "${_main}" "${_main}" printf -- ':: go / build / %s / release / native :: exec -- "${ZRUN}" ":: go / build / * / release / native" %q "${@}"\n' "${_main}" "${_main}"
for _os in linux darwin freebsd openbsd android ; do for _os in linux darwin freebsd openbsd android ; do
printf -- ':: go / build / %s / debug / %s / x86_64 :: exec -- "${ZRUN[@]}" ":: go / build / * / debug / %q / x86_64" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}" printf -- ':: go / build / %s / debug / %s / x86_64 :: exec -- "${ZRUN}" ":: go / build / * / debug / %q / x86_64" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}"
printf -- ':: go / build / %s / release / %s / x86_64 :: exec -- "${ZRUN[@]}" ":: go / build / * / release / %q / x86_64" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}" printf -- ':: go / build / %s / release / %s / x86_64 :: exec -- "${ZRUN}" ":: go / build / * / release / %q / x86_64" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}"
done done
for _os in linux darwin freebsd openbsd android ; do for _os in linux darwin freebsd openbsd android ; do
printf -- ':: go / build / %s / debug / %s / aarch64 :: exec -- "${ZRUN[@]}" ":: go / build / * / debug / %q / aarch64" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}" printf -- ':: go / build / %s / debug / %s / aarch64 :: exec -- "${ZRUN}" ":: go / build / * / debug / %q / aarch64" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}"
printf -- ':: go / build / %s / release / %s / aarch64 :: exec -- "${ZRUN[@]}" ":: go / build / * / release / %q / aarch64" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}" printf -- ':: go / build / %s / release / %s / aarch64 :: exec -- "${ZRUN}" ":: go / build / * / release / %q / aarch64" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}"
done done
for _os in linux ; do for _os in linux ; do
printf -- ':: go / build / %s / debug / %s / armv6 :: exec -- "${ZRUN[@]}" ":: go / build / * / debug / %q / armv6" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}" printf -- ':: go / build / %s / debug / %s / armv6 :: exec -- "${ZRUN}" ":: go / build / * / debug / %q / armv6" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}"
printf -- ':: go / build / %s / release / %s / armv6 :: exec -- "${ZRUN[@]}" ":: go / build / * / release / %q / armv6" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}" printf -- ':: go / build / %s / release / %s / armv6 :: exec -- "${ZRUN}" ":: go / build / * / release / %q / armv6" %q "${@}"\n' "${_main}" "${_os}" "${_os}" "${_main}"
done done

View file

@ -8,8 +8,8 @@
--:: watch / go / build / * / debug :: exec -- "${ZRUN[@]}" ':: sources / watch' ':: go / build / * / debug' "${@}" --:: watch / go / build / * / debug :: exec -- "${ZRUN}" ':: sources / watch' ':: go / build / * / debug' "${@}"
--:: watch / go / execute / * / debug :: exec -- "${ZRUN[@]}" ':: sources / watch' ':: go / execute / * / debug' "${@}" --:: watch / go / execute / * / debug :: exec -- "${ZRUN}" ':: sources / watch' ':: go / execute / * / debug' "${@}"
@ -22,7 +22,7 @@
export -- __BUILD_SUFFIX=native export -- __BUILD_SUFFIX=native
"${ZRUN[@]}" ':: go / build / * / debug' "${_main}" "${ZRUN}" ':: go / build / * / debug' "${_main}"
export -n -- \ export -n -- \
ZRUN_LIBRARY_SOURCE= \ ZRUN_LIBRARY_SOURCE= \
@ -47,7 +47,7 @@
export -- __BUILD_SUFFIX=native export -- __BUILD_SUFFIX=native
"${ZRUN[@]}" ':: go / build / * / release' "${_main}" "${ZRUN}" ':: go / build / * / release' "${_main}"
export -n -- \ export -n -- \
ZRUN_LIBRARY_SOURCE= \ ZRUN_LIBRARY_SOURCE= \
@ -74,7 +74,7 @@
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: sources / embedded / prepare' "${ZRUN}" ':: sources / embedded / prepare'
_binaries="$( exec -- readlink -e -- ./.outputs/binaries )" _binaries="$( exec -- readlink -e -- ./.outputs/binaries )"
@ -113,7 +113,7 @@
exec -- \ exec -- \
nice -n 19 -- \ nice -n 19 -- \
"${ZRUN[@]}" ':: go / tool' \ "${ZRUN}" ':: go / tool' \
build \ build \
-o "${_binaries}/${_main}--debug--${_suffix}" \ -o "${_binaries}/${_main}--debug--${_suffix}" \
-tags "${_tags}" \ -tags "${_tags}" \
@ -136,7 +136,7 @@
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: sources / embedded / bundle' "${ZRUN}" ':: sources / embedded / bundle'
_binaries="$( exec -- readlink -e -- ./.outputs/binaries )" _binaries="$( exec -- readlink -e -- ./.outputs/binaries )"
@ -185,7 +185,7 @@
fi fi
nice -n 19 -- \ nice -n 19 -- \
"${ZRUN[@]}" ':: go / tool' \ "${ZRUN}" ':: go / tool' \
build \ build \
-o "${_binaries}/${_main}--release--${_suffix}.new" \ -o "${_binaries}/${_main}--release--${_suffix}.new" \
-tags "${_tags}" \ -tags "${_tags}" \
@ -214,49 +214,49 @@
++<< go / build / all / debug ++<< go / build / all / debug
for _main in kawipiko-wrapper kawipiko-archiver kawipiko-server kawipiko-server-dummy ; do for _main in kawipiko-wrapper kawipiko-archiver kawipiko-server kawipiko-server-dummy ; do
printf -- '[ii] building `%s`...\n' "${_main}" >&2 printf -- '[ii] building `%s`...\n' "${_main}" >&2
"${ZRUN[@]}" ':: go / build / * / debug / all' "${_main}" "${@}" "${ZRUN}" ':: go / build / * / debug / all' "${_main}" "${@}"
done done
!! !!
--<< go / build / * / debug / all --<< go / build / * / debug / all
printf -- '[ii] building for `%s`...\n' 'native' >&2 printf -- '[ii] building for `%s`...\n' 'native' >&2
"${ZRUN[@]}" ':: go / build / * / debug / native' "${@}" "${ZRUN}" ':: go / build / * / debug / native' "${@}"
printf -- '[ii] building for `%s`...\n' 'linux / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'linux / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / linux / x86_64' "${@}" "${ZRUN}" ':: go / build / * / debug / linux / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'linux / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'linux / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / linux / aarch64' "${@}" "${ZRUN}" ':: go / build / * / debug / linux / aarch64' "${@}"
printf -- '[ii] building for `%s`...\n' 'linux / armv6' >&2 printf -- '[ii] building for `%s`...\n' 'linux / armv6' >&2
"${ZRUN[@]}" ':: go / build / * / debug / linux / armv6' "${@}" "${ZRUN}" ':: go / build / * / debug / linux / armv6' "${@}"
printf -- '[ii] building for `%s`...\n' 'linux / x86_64--seccomp' >&2 printf -- '[ii] building for `%s`...\n' 'linux / x86_64--seccomp' >&2
"${ZRUN[@]}" ':: go / build / * / debug / linux / x86_64--seccomp' "${@}" "${ZRUN}" ':: go / build / * / debug / linux / x86_64--seccomp' "${@}"
printf -- '[ii] building for `%s`...\n' 'darwin / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'darwin / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / darwin / x86_64' "${@}" "${ZRUN}" ':: go / build / * / debug / darwin / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'darwin / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'darwin / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / darwin / aarch64' "${@}" "${ZRUN}" ':: go / build / * / debug / darwin / aarch64' "${@}"
printf -- '[ii] building for `%s`...\n' 'freebsd / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'freebsd / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / freebsd / x86_64' "${@}" "${ZRUN}" ':: go / build / * / debug / freebsd / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'freebsd / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'freebsd / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / freebsd / aarch64' "${@}" "${ZRUN}" ':: go / build / * / debug / freebsd / aarch64' "${@}"
printf -- '[ii] building for `%s`...\n' 'openbsd / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'openbsd / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / openbsd / x86_64' "${@}" "${ZRUN}" ':: go / build / * / debug / openbsd / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'openbsd / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'openbsd / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / openbsd / aarch64' "${@}" "${ZRUN}" ':: go / build / * / debug / openbsd / aarch64' "${@}"
printf -- '[ii] building for `%s`...\n' 'android / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'android / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / android / x86_64' "${@}" "${ZRUN}" ':: go / build / * / debug / android / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'android / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'android / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / debug / android / aarch64' "${@}" "${ZRUN}" ':: go / build / * / debug / android / aarch64' "${@}"
!! !!
--<< go / build / * / debug / native --<< go / build / * / debug / native
export -- __BUILD_SUFFIX=native export -- __BUILD_SUFFIX=native
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / linux / x86_64--seccomp --<< go / build / * / debug / linux / x86_64--seccomp
@ -264,21 +264,21 @@
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=linux--x86_64--seccomp export -- __BUILD_SUFFIX=linux--x86_64--seccomp
export -- __BUILD_SECCOMP=true export -- __BUILD_SECCOMP=true
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / linux / x86_64 --<< go / build / * / debug / linux / x86_64
export -- GOOS=linux export -- GOOS=linux
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=linux--x86_64 export -- __BUILD_SUFFIX=linux--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / linux / aarch64 --<< go / build / * / debug / linux / aarch64
export -- GOOS=linux export -- GOOS=linux
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=linux--aarch64 export -- __BUILD_SUFFIX=linux--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / linux / armv6 --<< go / build / * / debug / linux / armv6
@ -286,63 +286,63 @@
export -- GOARCH=arm export -- GOARCH=arm
export -- GOARM=6 export -- GOARM=6
export -- __BUILD_SUFFIX=linux--armv6 export -- __BUILD_SUFFIX=linux--armv6
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / darwin / x86_64 --<< go / build / * / debug / darwin / x86_64
export -- GOOS=darwin export -- GOOS=darwin
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=darwin--x86_64 export -- __BUILD_SUFFIX=darwin--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / darwin / aarch64 --<< go / build / * / debug / darwin / aarch64
export -- GOOS=darwin export -- GOOS=darwin
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=darwin--aarch64 export -- __BUILD_SUFFIX=darwin--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / freebsd / x86_64 --<< go / build / * / debug / freebsd / x86_64
export -- GOOS=freebsd export -- GOOS=freebsd
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=freebsd--x86_64 export -- __BUILD_SUFFIX=freebsd--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / freebsd / aarch64 --<< go / build / * / debug / freebsd / aarch64
export -- GOOS=freebsd export -- GOOS=freebsd
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=freebsd--aarch64 export -- __BUILD_SUFFIX=freebsd--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / openbsd / x86_64 --<< go / build / * / debug / openbsd / x86_64
export -- GOOS=openbsd export -- GOOS=openbsd
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=openbsd--x86_64 export -- __BUILD_SUFFIX=openbsd--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / openbsd / aarch64 --<< go / build / * / debug / openbsd / aarch64
export -- GOOS=openbsd export -- GOOS=openbsd
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=openbsd--aarch64 export -- __BUILD_SUFFIX=openbsd--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / android / x86_64 --<< go / build / * / debug / android / x86_64
export -- GOOS=android export -- GOOS=android
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=android--x86_64 export -- __BUILD_SUFFIX=android--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
--<< go / build / * / debug / android / aarch64 --<< go / build / * / debug / android / aarch64
export -- GOOS=android export -- GOOS=android
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=android--aarch64 export -- __BUILD_SUFFIX=android--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / debug' "${@}" exec -- "${ZRUN}" ':: go / build / * / debug' "${@}"
!! !!
@ -350,55 +350,55 @@
++<< go / build / all / release / quick ++<< go / build / all / release / quick
export -- __BUILD_QUICK=true export -- __BUILD_QUICK=true
exec -- "${ZRUN[@]}" ':: go / build / all / release' "${@}" exec -- "${ZRUN}" ':: go / build / all / release' "${@}"
!! !!
++<< go / build / all / release ++<< go / build / all / release
for _main in kawipiko-wrapper kawipiko-archiver kawipiko-server kawipiko-server-dummy ; do for _main in kawipiko-wrapper kawipiko-archiver kawipiko-server kawipiko-server-dummy ; do
printf -- '[ii] building `%s`...\n' "${_main}" >&2 printf -- '[ii] building `%s`...\n' "${_main}" >&2
"${ZRUN[@]}" ':: go / build / * / release / all' "${_main}" "${@}" "${ZRUN}" ':: go / build / * / release / all' "${_main}" "${@}"
done done
!! !!
--<< go / build / * / release / all --<< go / build / * / release / all
printf -- '[ii] building for `%s`...\n' 'native' >&2 printf -- '[ii] building for `%s`...\n' 'native' >&2
"${ZRUN[@]}" ':: go / build / * / release / native' "${@}" "${ZRUN}" ':: go / build / * / release / native' "${@}"
printf -- '[ii] building for `%s`...\n' 'linux / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'linux / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / release / linux / x86_64' "${@}" "${ZRUN}" ':: go / build / * / release / linux / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'linux / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'linux / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / release / linux / aarch64' "${@}" "${ZRUN}" ':: go / build / * / release / linux / aarch64' "${@}"
printf -- '[ii] building for `%s`...\n' 'linux / armv6' >&2 printf -- '[ii] building for `%s`...\n' 'linux / armv6' >&2
"${ZRUN[@]}" ':: go / build / * / release / linux / armv6' "${@}" "${ZRUN}" ':: go / build / * / release / linux / armv6' "${@}"
printf -- '[ii] building for `%s`...\n' 'linux / x86_64--seccomp' >&2 printf -- '[ii] building for `%s`...\n' 'linux / x86_64--seccomp' >&2
"${ZRUN[@]}" ':: go / build / * / release / linux / x86_64--seccomp' "${@}" "${ZRUN}" ':: go / build / * / release / linux / x86_64--seccomp' "${@}"
printf -- '[ii] building for `%s`...\n' 'darwin / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'darwin / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / release / darwin / x86_64' "${@}" "${ZRUN}" ':: go / build / * / release / darwin / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'darwin / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'darwin / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / release / darwin / aarch64' "${@}" "${ZRUN}" ':: go / build / * / release / darwin / aarch64' "${@}"
printf -- '[ii] building for `%s`...\n' 'freebsd / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'freebsd / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / release / freebsd / x86_64' "${@}" "${ZRUN}" ':: go / build / * / release / freebsd / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'freebsd / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'freebsd / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / release / freebsd / aarch64' "${@}" "${ZRUN}" ':: go / build / * / release / freebsd / aarch64' "${@}"
printf -- '[ii] building for `%s`...\n' 'openbsd / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'openbsd / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / release / openbsd / x86_64' "${@}" "${ZRUN}" ':: go / build / * / release / openbsd / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'openbsd / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'openbsd / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / release / openbsd / aarch64' "${@}" "${ZRUN}" ':: go / build / * / release / openbsd / aarch64' "${@}"
printf -- '[ii] building for `%s`...\n' 'android / x86_64' >&2 printf -- '[ii] building for `%s`...\n' 'android / x86_64' >&2
"${ZRUN[@]}" ':: go / build / * / release / android / x86_64' "${@}" "${ZRUN}" ':: go / build / * / release / android / x86_64' "${@}"
printf -- '[ii] building for `%s`...\n' 'android / aarch64' >&2 printf -- '[ii] building for `%s`...\n' 'android / aarch64' >&2
"${ZRUN[@]}" ':: go / build / * / release / android / aarch64' "${@}" "${ZRUN}" ':: go / build / * / release / android / aarch64' "${@}"
!! !!
--<< go / build / * / release / native --<< go / build / * / release / native
export -- __BUILD_SUFFIX=native export -- __BUILD_SUFFIX=native
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / linux / x86_64--seccomp --<< go / build / * / release / linux / x86_64--seccomp
@ -406,21 +406,21 @@
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=linux--x86_64--seccomp export -- __BUILD_SUFFIX=linux--x86_64--seccomp
export -- __BUILD_SECCOMP=true export -- __BUILD_SECCOMP=true
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / linux / x86_64 --<< go / build / * / release / linux / x86_64
export -- GOOS=linux export -- GOOS=linux
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=linux--x86_64 export -- __BUILD_SUFFIX=linux--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / linux / aarch64 --<< go / build / * / release / linux / aarch64
export -- GOOS=linux export -- GOOS=linux
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=linux--aarch64 export -- __BUILD_SUFFIX=linux--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / linux / armv6 --<< go / build / * / release / linux / armv6
@ -428,63 +428,63 @@
export -- GOARCH=arm export -- GOARCH=arm
export -- GOARM=6 export -- GOARM=6
export -- __BUILD_SUFFIX=linux--armv6 export -- __BUILD_SUFFIX=linux--armv6
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / darwin / x86_64 --<< go / build / * / release / darwin / x86_64
export -- GOOS=darwin export -- GOOS=darwin
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=darwin--x86_64 export -- __BUILD_SUFFIX=darwin--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / darwin / aarch64 --<< go / build / * / release / darwin / aarch64
export -- GOOS=darwin export -- GOOS=darwin
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=darwin--aarch64 export -- __BUILD_SUFFIX=darwin--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / freebsd / x86_64 --<< go / build / * / release / freebsd / x86_64
export -- GOOS=freebsd export -- GOOS=freebsd
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=freebsd--x86_64 export -- __BUILD_SUFFIX=freebsd--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / freebsd / aarch64 --<< go / build / * / release / freebsd / aarch64
export -- GOOS=freebsd export -- GOOS=freebsd
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=freebsd--aarch64 export -- __BUILD_SUFFIX=freebsd--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / openbsd / x86_64 --<< go / build / * / release / openbsd / x86_64
export -- GOOS=openbsd export -- GOOS=openbsd
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=openbsd--x86_64 export -- __BUILD_SUFFIX=openbsd--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / openbsd / aarch64 --<< go / build / * / release / openbsd / aarch64
export -- GOOS=openbsd export -- GOOS=openbsd
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=openbsd--aarch64 export -- __BUILD_SUFFIX=openbsd--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / android / x86_64 --<< go / build / * / release / android / x86_64
export -- GOOS=android export -- GOOS=android
export -- GOARCH=amd64 export -- GOARCH=amd64
export -- __BUILD_SUFFIX=android--x86_64 export -- __BUILD_SUFFIX=android--x86_64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
--<< go / build / * / release / android / aarch64 --<< go / build / * / release / android / aarch64
export -- GOOS=android export -- GOOS=android
export -- GOARCH=arm64 export -- GOARCH=arm64
export -- __BUILD_SUFFIX=android--aarch64 export -- __BUILD_SUFFIX=android--aarch64
exec -- "${ZRUN[@]}" ':: go / build / * / release' "${@}" exec -- "${ZRUN}" ':: go / build / * / release' "${@}"
!! !!
@ -492,7 +492,7 @@
<< go / dependencies / include << go / dependencies / include
test "${#}" -ge 1 test "${#}" -ge 1
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN}" ':: go / tool' \
get \ get \
-v \ -v \
-d \ -d \
@ -504,7 +504,7 @@
<< go / dependencies / update << go / dependencies / update
test "${#}" -eq 0 test "${#}" -eq 0
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN}" ':: go / tool' \
get \ get \
-v \ -v \
-d \ -d \
@ -520,10 +520,10 @@
_skipped=( _skipped=(
github.com/volution/kawipiko github.com/volution/kawipiko
) )
"${ZRUN[@]}" ':: go / tool' mod tidy "${ZRUN}" ':: go / tool' mod tidy
_dependencies_hash_old="$( exec -- md5sum -b -- ./sources/go.mod )" _dependencies_hash_old="$( exec -- md5sum -b -- ./sources/go.mod )"
readarray -t -- _dependencies \ readarray -t -- _dependencies \
< <( exec -- "${ZRUN[@]}" ':: go / tool' list -m -- all ) \ < <( exec -- "${ZRUN}" ':: go / tool' list -m -- all ) \
# #
for _dependency in "${_dependencies[@]}" ; do for _dependency in "${_dependencies[@]}" ; do
_dependency="${_dependency%% *}" _dependency="${_dependency%% *}"
@ -534,7 +534,7 @@
continue 2 continue 2
fi fi
done done
if "${ZRUN[@]}" ':: go / tool' \ if "${ZRUN}" ':: go / tool' \
get \ get \
-v \ -v \
-- \ -- \
@ -545,7 +545,7 @@
printf -- '[ee] -> failed @latest!\n' >&2 printf -- '[ee] -> failed @latest!\n' >&2
fi fi
printf -- '[ii] updating `%s` @minor...\n' "${_dependency}" >&2 printf -- '[ii] updating `%s` @minor...\n' "${_dependency}" >&2
if "${ZRUN[@]}" ':: go / tool' \ if "${ZRUN}" ':: go / tool' \
get \ get \
-v \ -v \
-u \ -u \
@ -558,7 +558,7 @@
printf -- '[ee] -> failed @minor!\n' >&2 printf -- '[ee] -> failed @minor!\n' >&2
fi fi
printf -- '[ii] updating `%s` @patch...\n' "${_dependency}" >&2 printf -- '[ii] updating `%s` @patch...\n' "${_dependency}" >&2
if "${ZRUN[@]}" ':: go / tool' \ if "${ZRUN}" ':: go / tool' \
get \ get \
-v \ -v \
-u=patch \ -u=patch \
@ -571,13 +571,13 @@
printf -- '[ee] -> failed @patch!\n' >&2 printf -- '[ee] -> failed @patch!\n' >&2
fi fi
done done
"${ZRUN[@]}" ':: go / tool' mod tidy "${ZRUN}" ':: go / tool' mod tidy
_dependencies_hash_new="$( exec -- md5sum -b -- ./sources/go.mod )" _dependencies_hash_new="$( exec -- md5sum -b -- ./sources/go.mod )"
if test "${_dependencies_hash_new}" != "${_dependencies_hash_old}" ; then if test "${_dependencies_hash_new}" != "${_dependencies_hash_old}" ; then
printf -- '\n\n\n[--]\n' >&2 printf -- '\n\n\n[--]\n' >&2
printf -- '[ww] dependencies graph changed; restarting!\n' >&2 printf -- '[ww] dependencies graph changed; restarting!\n' >&2
printf -- '[--]\n\n\n\n' >&2 printf -- '[--]\n\n\n\n' >&2
exec -- "${ZRUN[@]}" ':: go / dependencies / update / iterative' exec -- "${ZRUN}" ':: go / dependencies / update / iterative'
else else
printf -- '\n\n\n[--]\n' >&2 printf -- '\n\n\n[--]\n' >&2
printf -- '[ww] dependencies graph stable; exiting!\n' >&2 printf -- '[ww] dependencies graph stable; exiting!\n' >&2
@ -587,7 +587,7 @@
<< go / dependencies / list << go / dependencies / list
test "${#}" -eq 0 test "${#}" -eq 0
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN}" ':: go / tool' \
list \ list \
-m \ -m \
-- \ -- \
@ -598,7 +598,7 @@
<< go / dependencies / tidy << go / dependencies / tidy
test "${#}" -eq 0 test "${#}" -eq 0
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN}" ':: go / tool' \
mod tidy \ mod tidy \
# #
!! !!
@ -606,7 +606,7 @@
<< go / dependencies / verify << go / dependencies / verify
test "${#}" -eq 0 test "${#}" -eq 0
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN}" ':: go / tool' \
mod verify \ mod verify \
# #
!! !!
@ -614,10 +614,10 @@
<< go / dependencies / upgrade << go / dependencies / upgrade
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: go / dependencies / update' "${ZRUN}" ':: go / dependencies / update'
"${ZRUN[@]}" ':: go / dependencies / tidy' "${ZRUN}" ':: go / dependencies / tidy'
"${ZRUN[@]}" ':: go / dependencies / verify' "${ZRUN}" ':: go / dependencies / verify'
"${ZRUN[@]}" ':: go / dependencies / list' "${ZRUN}" ':: go / dependencies / list'
!! !!
@ -631,7 +631,7 @@
mv -T -- ./vendors ./sources/vendor mv -T -- ./vendors ./sources/vendor
fi fi
"${ZRUN[@]}" ':: go / tool' \ "${ZRUN}" ':: go / tool' \
mod vendor \ mod vendor \
# #
@ -707,7 +707,7 @@
<< go / build / kawipiko-server / analyze << go / build / kawipiko-server / analyze
test "${#}" -eq 0 test "${#}" -eq 0
_outputs="$( exec -- readlink -e -- ./.outputs )" _outputs="$( exec -- readlink -e -- ./.outputs )"
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN}" ':: go / tool' \
build \ build \
-o "${_outputs}/binaries/kawipiko-server--analyze" \ -o "${_outputs}/binaries/kawipiko-server--analyze" \
-gcflags '-m' \ -gcflags '-m' \
@ -719,7 +719,7 @@
<< go / build / kawipiko-server / analyze / escapes << go / build / kawipiko-server / analyze / escapes
"${ZRUN[@]}" ':: go / build / kawipiko-server / analyze' "${@}" \ "${ZRUN}" ':: go / build / kawipiko-server / analyze' "${@}" \
2>&1 \ 2>&1 \
| grep -F -e ' escapes ' \ | grep -F -e ' escapes ' \
| LC_ALL=C sort -n -k 2,2 -t ':' | LC_ALL=C sort -n -k 2,2 -t ':'

View file

@ -41,9 +41,9 @@
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: sources / embedded / documentation' "${ZRUN}" ':: sources / embedded / documentation'
"${ZRUN[@]}" ':: sources / embedded / sbom' "${ZRUN}" ':: sources / embedded / sbom'
"${ZRUN[@]}" ':: sources / embedded / hash' "${ZRUN}" ':: sources / embedded / hash'
!! !!
@ -168,7 +168,7 @@
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: sources / embedded / prepare' "${ZRUN}" ':: sources / embedded / prepare'
if test -s ./sources/embedded/build/sources.cpio.gz ; then if test -s ./sources/embedded/build/sources.cpio.gz ; then
rm -- ./sources/embedded/build/sources.cpio.gz rm -- ./sources/embedded/build/sources.cpio.gz
@ -214,7 +214,7 @@
_delegate=() _delegate=()
case "${_command}" in case "${_command}" in
( '::'* ) ( '::'* )
_delegate+=( "${ZRUN[@]}" "${_command}" ) _delegate+=( "${ZRUN}" "${_command}" )
;; ;;
( /* ) ( /* )
_delegate+=( "${_command}" ) _delegate+=( "${_command}" )
@ -247,7 +247,7 @@
\ \
-- \ -- \
\ \
"${ZRUN[@]}" ':: sources / watch / delegate' \ "${ZRUN}" ':: sources / watch / delegate' \
"${_delegate[@]}" \ "${_delegate[@]}" \
"${@}" \ "${@}" \
# #

View file

@ -12,10 +12,10 @@
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: tls / generate / self-signed' "${ZRUN}" ':: tls / generate / self-signed'
"${ZRUN[@]}" ':: tls / generate / testing / ca' "${ZRUN}" ':: tls / generate / testing / ca'
"${ZRUN[@]}" ':: tls / generate / testing / server' "${ZRUN}" ':: tls / generate / testing / server'
"${ZRUN[@]}" ':: tls / generate / testing / client' "${ZRUN}" ':: tls / generate / testing / client'
!! !!

View file

@ -12,7 +12,7 @@
test "${#}" -eq 0 test "${#}" -eq 0
"${ZRUN[@]}" ':: workbench / initialize / go' "${ZRUN}" ':: workbench / initialize / go'
!! !!
@ -22,7 +22,7 @@
test "${#}" -eq 0 test "${#}" -eq 0
_outputs="$( exec -- "${ZRUN[@]}" ':: workbench / outputs' )" _outputs="$( exec -- "${ZRUN}" ':: workbench / outputs' )"
test -d "${_outputs}" test -d "${_outputs}"
_sources="${__SOURCES}" _sources="${__SOURCES}"
@ -110,7 +110,7 @@
<< workbench / initialize / python << workbench / initialize / python
test "${#}" -eq 0 test "${#}" -eq 0
_outputs="$( exec -- "${ZRUN[@]}" ':: workbench / outputs' )" _outputs="$( exec -- "${ZRUN}" ':: workbench / outputs' )"
if test -d "${_outputs}/python" ; then if test -d "${_outputs}/python" ; then
exit -- 0 exit -- 0