Update benchmark.sh
This commit is contained in:
parent
9418290df0
commit
b175f26bd2
@ -67,7 +67,7 @@ do
|
|||||||
for time in "${times[@]}"
|
for time in "${times[@]}"
|
||||||
do
|
do
|
||||||
echo -e "Time: $time\n"
|
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
|
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
|
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
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user