Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-26 16:17:33 +02:00 committed by GitHub
parent 3e863bb4f6
commit d74a3ba798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ do
echo -e "Benchmarking $function\n"
echo -e "Output of $function is:\n"
perl -pi -e 'chomp if eof' "$function".body
curl --data-binary @"$function".body --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/"$function"
curl --data-binary @"$function_friendly".body --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/"$function"
echo -e "\n"
if [[ $* = *"--wave"* ]]
then