Update benchmark.sh
This commit is contained in:
parent
d34d09e196
commit
d04eb00211
@ -13,7 +13,7 @@ then
|
|||||||
cd wrk
|
cd wrk
|
||||||
make
|
make
|
||||||
# move the executable to somewhere in your PATH, ex:
|
# move the executable to somewhere in your PATH, ex:
|
||||||
sudo cp wrk /usr/local/bin
|
cp wrk /usr/local/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HEY_INSTALLED=$(which hey)
|
HEY_INSTALLED=$(which hey)
|
||||||
@ -23,7 +23,7 @@ then
|
|||||||
apt install -y golang
|
apt install -y golang
|
||||||
go get -u github.com/rakyll/hey
|
go get -u github.com/rakyll/hey
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
export PATH=$PATH:$GOPATH/bin
|
cp $GOPATH/bin/hey /usr/local/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for function in "${functions[@]}"
|
for function in "${functions[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user