Skip to content
Myr

run

This file

Path

benchmarks/run

16 lines · 196 bytes

Last changed by

use 8 threads for benchmarksTJ Holowaychukbefore adoption3baca25

History of this file

Take it

1#!/usr/bin/env bash23echo4MW=$1 node $2 &5pid=$!67sleep 289wrk 'http://localhost:3333/?foo[bar]=baz' \10  -d 3 \11  -c 50 \12  -t 8 \13  | grep 'Requests/sec' \14  | awk '{ print "  " $2 }'1516kill $pid