Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-03 00:13:09 +02:00 committed by GitHub
parent 9418290df0
commit b175f26bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ do
for time in "${times[@]}"
do
echo -e "Time: $time\n"
wrk -t$threads -d$time -c$connection -H"Host: $function.kubeless" -H"Content-Type:application/json" --latency http://$kuberhost/$function > ./$function.$connection.$time.txt 2>&1
wrk -t$threads -d$time -c$connection -s$function.wrk.txt -H"Host: $function.kubeless" -H"Content-Type:application/json" --latency http://$kuberhost/$function > ./$function.$connection.$time.txt 2>&1
done
hey -n 100000000 -c $connection -o csv -m POST -host "$function.kubeless" -T "application/json" -D $function.body.txt http://$kuberhost/$function > $function.$connection.csv
done