Skip to content

Instantly share code, notes, and snippets.

View membphis's full-sized avatar

YuanSheng Wang membphis

  • api7.ai
  • Zhuhai, China
View GitHub Profile
# vim:set ft= ts=4 sw=4 et fdm=marker:
use lib 'lib';
use Test::Nginx::Socket::Lua;
use Cwd qw(cwd);
workers(5);
#worker_connections(1014);
master_process_enabled(1);
#log_level('warn');
$ wrk -d30 -t1 -c1 --latency http://test.com/t.txt
Running 30s test @ http://test.com/t.txt
1 threads and 1 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 196.78us 152.72us 6.68ms 97.98%
Req/Sec 5.25k 670.20 6.17k 74.75%
Latency Distribution
50% 181.00us
75% 223.00us
90% 259.00us