From 9e8c8688b0a9dda79d7001b4955e5eda5f3805d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 2 Apr 2019 23:22:28 +0200 Subject: [PATCH] Update benchmark.sh --- functions/benchmark.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/benchmark.sh b/functions/benchmark.sh index bd48730..79b8ce8 100644 --- a/functions/benchmark.sh +++ b/functions/benchmark.sh @@ -2,7 +2,7 @@ functions=(hello matrix) -connections=(2 5 10 20 21 50 100 200 400 500 1000) +connections=(2 5 10 20 50 100 200 400 500 1000) kuberhost="node1:32764" WRK_INSTALLED=$(which wrk) @@ -32,11 +32,11 @@ do echo -e "\n" for connection in "${connections[@]}" do - if [[ $connection -lt 21 ]] + if [[ $connection -lt 41 ]] then threads=$(($connection-1)) else - threads=20 + threads=40 fi echo -e "Threads: $threads Connections $connection\n" wrk -t$threads -d1m -c$connection -H"Host: $function.kubeless" -H"Content-Type:application/json" --latency http://$kuberhost/$function > ./$function.$connection.txt 2>&1