diff --git a/benchmark/benchmark.sh b/benchmark/benchmark.sh index bc0d7aa..fc72f08 100644 --- a/benchmark/benchmark.sh +++ b/benchmark/benchmark.sh @@ -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"* ]]