Update benchmark.sh
This commit is contained in:
parent
b477d420a9
commit
bb019b4f8a
@ -43,7 +43,7 @@ do
|
|||||||
echo -e "Threads: $threads Connections $connection\n"
|
echo -e "Threads: $threads Connections $connection\n"
|
||||||
for time in "${times[@]}"
|
for time in "${times[@]}"
|
||||||
do
|
do
|
||||||
wrk -t$threads -d$time -c$connection -H"Host: $function.kubeless" -H"Content-Type:application/json" --latency http://$kuberhost/$function > ./$function.$connection.txt 2>&1
|
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
|
||||||
done
|
done
|
||||||
hey -n 100000000 -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
|
||||||
|
Loading…
Reference in New Issue
Block a user