Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-02 23:11:40 +02:00 committed by GitHub
parent c75db96d3e
commit 33b2bde739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ connections=(2 5 10 20 21 50 100 200 400 500 1000)
kuberhost="node1:32764"
WRK_INSTALLED=$(which wrk)
if [[ "$WRK_INSTALLED" -eq "" ]]
if [ "$WRK_INSTALLED" = "" ]
then
sudo apt-get install build-essential libssl-dev git -y
git clone https://github.com/wg/wrk.git wrk
@ -16,7 +16,7 @@ then
fi
HEY_INSTALLED=$(which hey)
if [[ "$HEY_INSTALLED" -eq "" ]]
if [ "$HEY_INSTALLED" = "" ]
then
apt update
apt install -y golang