标签:style blog http color io os sp div c
taskset -c 1 ./wrk -c1 -t1 -d30 http://localhost/hello
wrk+nginx(helloworld module) sudo taskset -c 0 sbin/nginx nginx: cpu:96% wrk: cpu:46% Running 30s test @ http://localhost/hello 1 threads and 1 connections Thread Stats Avg Stdev Max +/- Stdev Latency 68.69us 420.93us 13.51ms 99.85% Req/Sec 14.00k 1.50k 15.56k 93.68% 392990 requests in 30.00s, 318.17MB read Requests/sec: 13099.88 Transfer/sec: 10.61MB wrk+nodejs sudo taskset -c 0 nodejs nodejs_httpserver.js Running 30s test @ http://localhost/hello 1 threads and 1 connections Thread Stats Avg Stdev Max +/- Stdev Latency 121.25us 406.54us 10.73ms 99.68% Req/Sec 8.29k 0.85k 9.11k 94.91% 233660 requests in 30.00s, 34.76MB read Requests/sec: 7788.90 Transfer/sec: 1.16MB wrk+golang golang: cpu:65% wrk: cpu:43% Running 30s test @ http://localhost/hello 1 threads and 1 connections Thread Stats Avg Stdev Max +/- Stdev Latency 126.33us 623.32us 14.23ms 99.69% Req/Sec 8.61k 1.03k 10.11k 92.66% 242727 requests in 30.00s, 35.19MB read Requests/sec: 8091.02 Transfer/sec: 1.17MB
标签:style blog http color io os sp div c
原文地址:http://www.cnblogs.com/chuqq/p/4003197.html