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
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ maxthreads=160
WRK_INSTALLED=$(which wrk)
if [ "$WRK_INSTALLED" = "" ]
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
cd wrk
make