Skip to main content
Module

x/doa/benchmarks/run

A middleware framework for Deno's http serve🦕. Transplanted from Koa with ❤️
Latest
File
#!/usr/bin/env bash
echoMW=$1 deno run --allow-net --allow-env $2 &pid=$!
sleep 2
wrk 'http://localhost:3333/?foo[bar]=baz' \ -d 3 \ -c 50 \ -t 8 \ | grep 'Requests/sec' \ | awk '{ print " " $2 }'kill $pid