Update benchmark.sh
This commit is contained in:
parent
6bfe4ac407
commit
356e23b60d
@ -55,10 +55,9 @@ for function in "${data[@]}"
|
|||||||
do
|
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"
|
||||||
|
perl -pi -e 'chomp if eof' $function.body.txt
|
||||||
curl --data-binary "@$function.body.txt" --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function
|
curl --data-binary "@$function.body.txt" --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
tr -d '\n' < $function.body.txt > $function.body.txt
|
|
||||||
tr -d '\r' < $function.body.txt > $function.body.txt
|
|
||||||
for connection in "${connections[@]}"
|
for connection in "${connections[@]}"
|
||||||
do
|
do
|
||||||
if [[ $connection -lt 41 ]]
|
if [[ $connection -lt 41 ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user