Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-26 16:57:23 +02:00 committed by GitHub
parent 8f467bc4c7
commit 8f6540b772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,8 +54,6 @@ 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
echo -e "Sleeping"
sleep $wave_time
if [[ $wave_dir_up ]] if [[ $wave_dir_up ]]
then then
if [[ $wave_connection -le $wave_max_conn ]] if [[ $wave_connection -le $wave_max_conn ]]