Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-02 23:19:46 +02:00 committed by GitHub
parent 2e043bdb2c
commit b788fc0f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ do
echo -e "Benchmarking $function\n" echo -e "Benchmarking $function\n"
echo -e "Output of $function is:\n" echo -e "Output of $function is:\n"
curl --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function curl --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function
echo -e "\n"
for connection in "${connections[@]}" for connection in "${connections[@]}"
do do
if [[ $connection -lt 21 ]] if [[ $connection -lt 21 ]]