From eb5ec346c285a88618ec5fe492d695d849812b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 3 Apr 2019 12:56:41 +0200 Subject: [PATCH] Update benchmark.sh --- benchmark/benchmark.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/benchmark/benchmark.sh b/benchmark/benchmark.sh index 02b009a..5bc0981 100644 --- a/benchmark/benchmark.sh +++ b/benchmark/benchmark.sh @@ -20,9 +20,11 @@ times=(1m) data=(isprime) kuberhost="node1:32764" maxthreads=160 -wrk_options=(-t$threads -d$time -c$connection $(array_contains data function && "-s$function.wrk") -H"Host: $function.kubeless" -H"Content-Type:application/json" --latency http://$kuberhost/$function) +#$(array_contains data function && "-s$function.wrk") +wrk_options=(-t$threads -d$time -c$connection -H"Host: $function.kubeless" -H"Content-Type:application/json" --latency http://$kuberhost/$function) wrk_output=$function.$connection.$time.txt -hey_options=(-c $connection -z $time -o csv -m POST -host "$function.kubeless" $(array_contains data function && "-D $function.body") -T "application/json" http://$kuberhost/$function) +#$(array_contains data function && "-D $function.body") +hey_options=(-c $connection -z $time -o csv -m POST -host "$function.kubeless" -T "application/json" http://$kuberhost/$function) hey_output=$function.$connection.$time.csv WRK_INSTALLED=$(which wrk)