Skip to content

Instantly share code, notes, and snippets.

@aptx4869
Created July 30, 2013 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aptx4869/6111839 to your computer and use it in GitHub Desktop.
Save aptx4869/6111839 to your computer and use it in GitHub Desktop.
AB测试……
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ruby-china.org (be patient).....done
Server Software: nginx/1.4.2
Server Hostname: ruby-china.org
Server Port: 80
Document Path: /
Document Length: 19557 bytes
Concurrency Level: 20
Time taken for tests: 3.477 seconds
Complete requests: 100
Failed requests: 39
(Connect: 0, Receive: 0, Length: 39, Exceptions: 0)
Write errors: 0
Total transferred: 2044768 bytes
HTML transferred: 1955668 bytes
Requests per second: 28.76 [#/sec] (mean)
Time per request: 695.308 [ms] (mean)
Time per request: 34.765 [ms] (mean, across all concurrent requests)
Transfer rate: 574.38 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 27 102 58.6 96 456
Processing: 205 563 198.9 581 949
Waiting: 47 185 87.3 163 482
Total: 329 665 195.4 676 1321
Percentage of the requests served within a certain time (ms)
50% 676
66% 758
75% 780
80% 799
90% 934
95% 1001
98% 1063
99% 1321
100% 1321 (longest request)
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ruby-china.org (be patient).....done
Server Software: nginx/1.4.2
Server Hostname: ruby-china.org
Server Port: 80
Document Path: /
Document Length: 19557 bytes
Concurrency Level: 10
Time taken for tests: 3.791 seconds
Complete requests: 100
Failed requests: 33
(Connect: 0, Receive: 0, Length: 33, Exceptions: 0)
Write errors: 0
Total transferred: 2044778 bytes
HTML transferred: 1955678 bytes
Requests per second: 26.38 [#/sec] (mean)
Time per request: 379.143 [ms] (mean)
Time per request: 37.914 [ms] (mean, across all concurrent requests)
Transfer rate: 526.68 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 28 71 26.8 71 137
Processing: 130 299 91.0 299 510
Waiting: 47 121 53.0 112 294
Total: 211 369 82.9 369 592
Percentage of the requests served within a certain time (ms)
50% 369
66% 411
75% 433
80% 449
90% 477
95% 501
98% 546
99% 592
100% 592 (longest request)
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ruby-china.org (be patient).....done
Server Software: nginx/1.4.2
Server Hostname: ruby-china.org
Server Port: 80
Document Path: /
Document Length: 19557 bytes
Concurrency Level: 5
Time taken for tests: 3.924 seconds
Complete requests: 100
Failed requests: 37
(Connect: 0, Receive: 0, Length: 37, Exceptions: 0)
Write errors: 0
Total transferred: 2044761 bytes
HTML transferred: 1955661 bytes
Requests per second: 25.48 [#/sec] (mean)
Time per request: 196.212 [ms] (mean)
Time per request: 39.242 [ms] (mean, across all concurrent requests)
Transfer rate: 508.85 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 25 41 11.5 38 83
Processing: 75 154 37.4 162 241
Waiting: 39 68 27.7 61 174
Total: 123 194 33.6 197 271
Percentage of the requests served within a certain time (ms)
50% 197
66% 208
75% 217
80% 224
90% 239
95% 255
98% 262
99% 271
100% 271 (longest request)
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ruby-china.org (be patient).....done
Server Software: nginx/1.4.2
Server Hostname: ruby-china.org
Server Port: 80
Document Path: /
Document Length: 19557 bytes
Concurrency Level: 2
Time taken for tests: 6.892 seconds
Complete requests: 100
Failed requests: 38
(Connect: 0, Receive: 0, Length: 38, Exceptions: 0)
Write errors: 0
Total transferred: 2044765 bytes
HTML transferred: 1955665 bytes
Requests per second: 14.51 [#/sec] (mean)
Time per request: 137.843 [ms] (mean)
Time per request: 68.921 [ms] (mean, across all concurrent requests)
Transfer rate: 289.73 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 25 30 2.4 30 34
Processing: 76 107 27.3 100 206
Waiting: 41 58 26.0 50 163
Total: 103 137 27.9 131 238
Percentage of the requests served within a certain time (ms)
50% 131
66% 135
75% 139
80% 142
90% 154
95% 226
98% 236
99% 238
100% 238 (longest request)
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ruby-china.org (be patient).....done
Server Software: nginx/1.4.2
Server Hostname: ruby-china.org
Server Port: 80
Document Path: /
Document Length: 19557 bytes
Concurrency Level: 1
Time taken for tests: 6.111 seconds
Complete requests: 50
Failed requests: 23
(Connect: 0, Receive: 0, Length: 23, Exceptions: 0)
Write errors: 0
Total transferred: 1022381 bytes
HTML transferred: 977831 bytes
Requests per second: 8.18 [#/sec] (mean)
Time per request: 122.226 [ms] (mean)
Time per request: 122.226 [ms] (mean, across all concurrent requests)
Transfer rate: 163.37 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 25 30 2.7 30 34
Processing: 75 92 36.0 83 263
Waiting: 41 55 32.8 46 199
Total: 101 122 37.0 116 296
Percentage of the requests served within a certain time (ms)
50% 116
66% 118
75% 120
80% 120
90% 126
95% 222
98% 296
99% 296
100% 296 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment