Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-02 22:42:30 +02:00 committed by GitHub
parent c338f0a92c
commit 5bdbdb1ac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,6 @@ do
fi
echo -e "Threads: $threads Connections $connection\n"
wrk -t$threads -d1m -c$connection -H"Host: $function.cucc" -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.cucc" -T "application/json" http://$kuberhost/$function > $function.$connection.csv
hey -n 10000 -c $connection -o csv -m GET -host "$function.kubeless" -T "application/json" http://$kuberhost/$function > $function.$connection.csv
done
done
done