Update benchmark.sh

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

View File

@ -12,7 +12,6 @@ then
git clone https://github.com/wg/wrk.git wrk
cd wrk
make
# move the executable to somewhere in your PATH, ex:
cp wrk /usr/local/bin
fi
@ -22,8 +21,7 @@ then
apt update
apt install -y golang
go get -u github.com/rakyll/hey
export GOPATH=$HOME/go
cp $GOPATH/bin/hey /usr/local/bin
cp $HOME/go/bin/hey /usr/local/bin
fi
for function in "${functions[@]}"