Update benchmark.sh
This commit is contained in:
parent
c75db96d3e
commit
33b2bde739
@ -6,7 +6,7 @@ connections=(2 5 10 20 21 50 100 200 400 500 1000)
|
|||||||
|
|
||||||
kuberhost="node1:32764"
|
kuberhost="node1:32764"
|
||||||
WRK_INSTALLED=$(which wrk)
|
WRK_INSTALLED=$(which wrk)
|
||||||
if [[ "$WRK_INSTALLED" -eq "" ]]
|
if [ "$WRK_INSTALLED" = "" ]
|
||||||
then
|
then
|
||||||
sudo apt-get install build-essential libssl-dev git -y
|
sudo apt-get install build-essential libssl-dev git -y
|
||||||
git clone https://github.com/wg/wrk.git wrk
|
git clone https://github.com/wg/wrk.git wrk
|
||||||
@ -16,7 +16,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
HEY_INSTALLED=$(which hey)
|
HEY_INSTALLED=$(which hey)
|
||||||
if [[ "$HEY_INSTALLED" -eq "" ]]
|
if [ "$HEY_INSTALLED" = "" ]
|
||||||
then
|
then
|
||||||
apt update
|
apt update
|
||||||
apt install -y golang
|
apt install -y golang
|
||||||
|
Loading…
Reference in New Issue
Block a user