From 7f3ffad85cc5477126416d9dd867727803c4c77e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 2 Apr 2019 23:17:39 +0200 Subject: [PATCH] Update benchmark.sh --- functions/benchmark.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/benchmark.sh b/functions/benchmark.sh index b99d5ba..0e3a797 100644 --- a/functions/benchmark.sh +++ b/functions/benchmark.sh @@ -28,7 +28,7 @@ for function in "${functions[@]}" do echo -e "Benchmarking $function\n" echo -e "Output of $function is:\n" - curl --header "Host: $function.cucc" --header "Content-Type:application/json" http://$kuberhost/$function + curl --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function for connection in "${connections[@]}" do if [[ $connection -lt 21 ]] @@ -38,7 +38,7 @@ do threads=20 fi echo -e "Threads: $threads Connections $connection\n" - wrk -t$threads -d1m -c$connection -H"Host: $function.cucc" -H"Content-Type:application/json" --latency http://$kuberhost/$function > ./$function.$connection.txt 2>&1 + wrk -t$threads -d1m -c$connection -H"Host: $function.kubeless" -H"Content-Type:application/json" --latency http://$kuberhost/$function > ./$function.$connection.txt 2>&1 hey -n 10000 -c $connection -o csv -m GET -host "$function.kubeless" -T "application/json" http://$kuberhost/$function > $function.$connection.csv done done