x/doa/benchmarks/run
1234567891011121314151617#!/usr/bin/env bashechoMW=$1 deno run --allow-net --allow-env $2 &pid=$!sleep 2wrk 'http://localhost:3333/?foo[bar]=baz' \ -d 3 \ -c 50 \ -t 8 \ | grep 'Requests/sec' \ | awk '{ print " " $2 }'kill $pid