p6 benchmark
$ wrk http://127.0.0.1:5000/
Running 10s test @ http://127.0.0.1:5000/
2 threads and 10 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 92.82ms 88.22ms 432.15ms 83.74%
Req/Sec 71.35 56.16 250.00 66.47%
1331 requests in 10.03s, 189.91KB read
Requests/sec: 132.76
Transfer/sec: 18.94KB
use v6;
use Crust::Runner;
my $app = sub ($env) {
return 200, [], ['hello'];
};
my $runner = Crust::Runner.new;
$runner.parse-options(@*ARGS);
$runner.run($app);