Update benchmark.sh
This commit is contained in:
parent
8f467bc4c7
commit
8f6540b772
@ -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 ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user