偶然情况下使用了japronto框架
测试后发现还是吊 附上结果
flask
wrk -c 100 -t 1 -d 30s http://127.0.0.1:80/index
Running 30s test @ http://127.0.0.1:80/index
1 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 143.21ms 16.36ms 253.80ms 88.93%
Req/Sec 693.61 79.78 790.00 83.61%
16451 requests in 30.09s, 2.54MB read
Requests/sec: 546.81
Transfer/sec: 86.51KB
japronto
wrk -c 100 -t 1 -d 30s http://127.0.0.1:8080/text
Running 30s test @ http://127.0.0.1:8080/text
1 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.30ms 1.29ms 52.12ms 99.20%
Req/Sec 60.28k 3.30k 63.84k 89.33%
1799596 requests in 30.01s, 157.89MB read
Requests/sec: 59966.31
Transfer/sec: 5.26MB