Update benchmark.sh
This commit is contained in:
parent
d04eb00211
commit
c75db96d3e
@ -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[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user