Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-02 23:24:59 +02:00 committed by GitHub
parent 9e8c8688b0
commit 06be30352a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,6 @@ do
fi
echo -e "Threads: $threads Connections $connection\n"
wrk -t$threads -d1m -c$connection -H"Host: $function.kubeless" -H"Content-Type:application/json" --latency http://$kuberhost/$function > ./$function.$connection.txt 2>&1
hey -n 10000 -c $connection -o csv -m GET -host "$function.kubeless" -T "application/json" http://$kuberhost/$function > $function.$connection.csv
hey -n 100000000 -c $connection -o csv -m GET -host "$function.kubeless" -T "application/json" http://$kuberhost/$function > $function.$connection.csv
done
done