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 git clone https://github.com/wg/wrk.git wrk
cd wrk cd wrk
make make
# move the executable to somewhere in your PATH, ex:
cp wrk /usr/local/bin cp wrk /usr/local/bin
fi fi
@ -22,8 +21,7 @@ then
apt update apt update
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 cp $HOME/go/bin/hey /usr/local/bin
cp $GOPATH/bin/hey /usr/local/bin
fi fi
for function in "${functions[@]}" for function in "${functions[@]}"