diff --git a/benchmark/benchmark.sh b/benchmark/benchmark.sh index a40f0c1..d6c87a4 100644 --- a/benchmark/benchmark.sh +++ b/benchmark/benchmark.sh @@ -23,7 +23,8 @@ then apt install build-essential libssl-dev git -y git clone https://github.com/wg/wrk.git wrk cd wrk || exit - make + cores=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l) + make -j $((cores + 1)) cp wrk /usr/local/bin fi