Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-03 12:25:06 +02:00 committed by GitHub
parent 8c795ffe1a
commit abf0e111be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,8 @@ maxthreads=160
WRK_INSTALLED=$(which wrk) WRK_INSTALLED=$(which wrk)
if [ "$WRK_INSTALLED" = "" ] if [ "$WRK_INSTALLED" = "" ]
then then
apt-get install build-essential libssl-dev git -y apt update
apt install build-essential libssl-dev git -y
git clone https://github.com/wg/wrk.git wrk git clone https://github.com/wg/wrk.git wrk
cd wrk cd wrk
make make