Update benchmark.sh
This commit is contained in:
parent
79c34cce45
commit
4d9f0662c0
@ -40,7 +40,7 @@ do
|
||||
function_friendly=$(echo $function | cut - -d'-' -f1)
|
||||
echo -e "Benchmarking $function\n"
|
||||
echo -e "Output of $function is:\n"
|
||||
perl -pi -e 'chomp if eof' "$function".body
|
||||
perl -pi -e 'chomp if eof' "$function_friendly".body
|
||||
curl --data-binary @"$function_friendly".body --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/"$function"
|
||||
echo -e "\n"
|
||||
if [[ $* = *"--wave"* ]]
|
||||
|
Loading…
Reference in New Issue
Block a user