Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-02 23:06:01 +02:00 committed by GitHub
parent d34d09e196
commit d04eb00211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ then
cd wrk
make
# move the executable to somewhere in your PATH, ex:
sudo cp wrk /usr/local/bin
cp wrk /usr/local/bin
fi
HEY_INSTALLED=$(which hey)
@ -23,7 +23,7 @@ then
apt install -y golang
go get -u github.com/rakyll/hey
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
cp $GOPATH/bin/hey /usr/local/bin
fi
for function in "${functions[@]}"