From 53ac54b8cdb58fd6ad004d26d6642472f92e9a94 Mon Sep 17 00:00:00 2001 From: Ciprian Dorin Craciun Date: Thu, 23 Dec 2021 11:02:05 +0200 Subject: [PATCH] [scripts] Minor updates. --- scripts/benchmark.z-run | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/benchmark.z-run b/scripts/benchmark.z-run index d1c0bc4..e973cbf 100644 --- a/scripts/benchmark.z-run +++ b/scripts/benchmark.z-run @@ -44,10 +44,6 @@ :: benchmark / server / http-all / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-all "${@}" --processes 1 --threads 1 :: benchmark / server / http-all / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server / inmem' http-all "${@}" --processes 1 --threads 2 -:: benchmark / server-dummy / http-fast / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / server-dummy / http-fast' 1 "${@}" -:: benchmark / server-dummy / http-fast / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / server-dummy / http-fast' 2 "${@}" -:: benchmark / server-dummy / http-fast / 1x4 :: exec -- "${ZRUN[@]}" ':: benchmark / server-dummy / http-fast' 4 "${@}" - :: 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 @@ -311,7 +307,11 @@ -<< benchmark / server-dummy / http-fast +:: benchmark / dummy / fasthttp / 1x1 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / fasthttp' 1 "${@}" +:: benchmark / dummy / fasthttp / 1x2 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / fasthttp' 2 "${@}" +:: benchmark / dummy / fasthttp / 1x4 :: exec -- "${ZRUN[@]}" ':: benchmark / dummy / fasthttp' 4 "${@}" + +--<< benchmark / dummy / fasthttp "${ZRUN[@]}" ':: go / build / server-dummy / release / quick' exec -- \ sudo -u root -n -E -P -- \ @@ -329,7 +329,7 @@ !! -<< benchmark / alternatives / haproxy-dummy +<< benchmark / dummy / haproxy / 1x2 exec -- \ sudo -u root -n -E -P -- \ taskset -c 0,1 \ @@ -347,7 +347,7 @@ !! -<< benchmark / alternatives / nginx-dummy +<< benchmark / dummy / nginx / 1x2 exec -- \ sudo -u root -n -E -P -- \ taskset -c 0,1 \ @@ -366,7 +366,7 @@ !! -<< benchmark / alternatives / nodejs-dummy +<< benchmark / dummy / nodejs / 1x1 exec -- \ sudo -u root -n -E -P -- \ taskset -c 0,1 \