Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-26 17:03:06 +02:00 committed by GitHub
parent 62a036f8ff
commit 44482b1bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ do
echo -e "Connections: $wave_connection" echo -e "Connections: $wave_connection"
echo -e "Running" echo -e "Running"
hey -c $wave_connection -z $wave_time -m POST -o csv -host "$function.kubeless" -D "$function_friendly".body -T "application/json" http://$kuberhost/"$function" > ./"$function"."$wave_connection"."$now".wave.csv hey -c $wave_connection -z $wave_time -m POST -o csv -host "$function.kubeless" -D "$function_friendly".body -T "application/json" http://$kuberhost/"$function" > ./"$function"."$wave_connection"."$now".wave.csv
if [[ $wave_dir_up ]] if $wave_dir_up
then then
if [[ $wave_connection -lt $wave_max_conn ]] if [[ $wave_connection -lt $wave_max_conn ]]
then then