Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (10 sloc) 363 Bytes
cd "$(dirname "$(dirname $0)")"
sudo sysctl -w net.inet.ip.portrange.first=12000
sudo sysctl -w net.inet.tcp.msl=1000
sudo sysctl -w kern.maxfiles=1000000 kern.maxfilesperproc=1000000
ulimit -n 100000
./node benchmark/http_simple.js || exit 1 &
sleep 1
ab -n 30000 -c 100${TYPE:-bytes}/${LENGTH:-1024} | grep Req
killall node
Jump to Line
Something went wrong with that request. Please try again.