Код> Добавить | Пролистать [ yaws vs nginx]
 ab -c 10 -n 10000 http://127.0.0.1:8080/index.txt
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:        Yaws
Server Hostname:        127.0.0.1
Server Port:            8080

Document Path:          /index.txt
Document Length:        257 bytes

Concurrency Level:      10
Time taken for tests:   2.562 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Non-2xx responses:      10000
Total transferred:      4040000 bytes
HTML transferred:       2570000 bytes
Requests per second:    3903.34 [#/sec] (mean)
Time per request:       2.562 [ms] (mean)
Time per request:       0.256 [ms] (mean, across all concurrent requests)
Transfer rate:          1539.99 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0  14.1      0     996
Processing:     0    1  18.8      1    1228
Waiting:        0    1  18.8      1    1228
Total:          0    2  24.4      1    1228

Percentage of the requests served within a certain time (ms)
  50%      1
  66%      1
  75%      1
  80%      1
  90%      1
  95%      2
  98%      4
  99%      6
 100%   1228 (longest request)
┌────[serge@desktop: ~]
└─>$ ab -c 10 -n 10000 http://127.0.0.1/yaws/index.txt
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:        nginx/1.2.0
Server Hostname:        127.0.0.1
Server Port:            80

Document Path:          /yaws/index.txt
Document Length:        168 bytes

Concurrency Level:      10
Time taken for tests:   0.555 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Non-2xx responses:      10000
Total transferred:      3170000 bytes
HTML transferred:       1680000 bytes
Requests per second:    18014.74 [#/sec] (mean)
Time per request:       0.555 [ms] (mean)
Time per request:       0.056 [ms] (mean, across all concurrent requests)
Transfer rate:          5576.83 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.2      0       5
Processing:     0    0   1.0      0      29
Waiting:        0    0   1.0      0      28
Total:          0    1   1.0      0      29

Percentage of the requests served within a certain time (ms)
  50%      0
  66%      0
  75%      1
  80%      1
  90%      1
  95%      1
  98%      1
  99%      3
 100%     29 (longest request)