Last active
June 9, 2016 14:23
-
-
Save evanshortiss/3696646c9141af38e9409debca1edb0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Every second run is using async await, i.e 1 & 3 uses the callback server, and 2 & 4 use async await. | |
eshortis@eshortis-OSX:~/workspaces/personal/aysnc-await$ ab -n 10000 -c 250 -r http://127.0.0.1:3001/ | |
This is ApacheBench, Version 2.3 <$Revision: 1663405 $> | |
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: | |
Server Hostname: 127.0.0.1 | |
Server Port: 3001 | |
Document Path: / | |
Document Length: 44 bytes | |
Concurrency Level: 250 | |
Time taken for tests: 10.771 seconds | |
Complete requests: 10000 | |
Failed requests: 718 | |
(Connect: 0, Receive: 359, Length: 359, Exceptions: 0) | |
Total transferred: 2371686 bytes | |
HTML transferred: 424204 bytes | |
Requests per second: 928.38 [#/sec] (mean) | |
Time per request: 269.287 [ms] (mean) | |
Time per request: 1.077 [ms] (mean, across all concurrent requests) | |
Transfer rate: 215.02 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 32 155.0 30 6885 | |
Processing: 0 45 117.6 31 1439 | |
Waiting: 0 31 20.2 31 173 | |
Total: 0 77 200.9 61 6886 | |
Percentage of the requests served within a certain time (ms) | |
50% 61 | |
66% 63 | |
75% 65 | |
80% 66 | |
90% 69 | |
95% 155 | |
98% 200 | |
99% 1227 | |
100% 6886 (longest request) | |
eshortis@eshortis-OSX:~/workspaces/personal/aysnc-await$ ab -n 10000 -c 250 -r http://127.0.0.1:3001/ | |
This is ApacheBench, Version 2.3 <$Revision: 1663405 $> | |
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: | |
Server Hostname: 127.0.0.1 | |
Server Port: 3001 | |
Document Path: / | |
Document Length: 44 bytes | |
Concurrency Level: 250 | |
Time taken for tests: 4.539 seconds | |
Complete requests: 10000 | |
Failed requests: 732 | |
(Connect: 0, Receive: 366, Length: 366, Exceptions: 0) | |
Total transferred: 2369964 bytes | |
HTML transferred: 423896 bytes | |
Requests per second: 2203.33 [#/sec] (mean) | |
Time per request: 113.465 [ms] (mean) | |
Time per request: 0.454 [ms] (mean, across all concurrent requests) | |
Transfer rate: 509.94 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 4 21.2 0 219 | |
Processing: 2 72 224.1 34 2339 | |
Waiting: 0 43 25.2 33 186 | |
Total: 5 75 225.1 35 2342 | |
Percentage of the requests served within a certain time (ms) | |
50% 35 | |
66% 45 | |
75% 55 | |
80% 59 | |
90% 85 | |
95% 138 | |
98% 274 | |
99% 1344 | |
100% 2342 (longest request) | |
eshortis@eshortis-OSX:~/workspaces/personal/aysnc-await$ ab -n 10000 -c 250 -r http://127.0.0.1:3001/ | |
This is ApacheBench, Version 2.3 <$Revision: 1663405 $> | |
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: | |
Server Hostname: 127.0.0.1 | |
Server Port: 3001 | |
Document Path: / | |
Document Length: 44 bytes | |
Concurrency Level: 250 | |
Time taken for tests: 3.917 seconds | |
Complete requests: 10000 | |
Failed requests: 438 | |
(Connect: 0, Receive: 219, Length: 219, Exceptions: 0) | |
Total transferred: 2406126 bytes | |
HTML transferred: 430364 bytes | |
Requests per second: 2552.76 [#/sec] (mean) | |
Time per request: 97.933 [ms] (mean) | |
Time per request: 0.392 [ms] (mean, across all concurrent requests) | |
Transfer rate: 599.83 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 5 23.9 0 310 | |
Processing: 6 65 218.4 41 2350 | |
Waiting: 0 43 30.5 41 226 | |
Total: 19 70 223.4 43 2552 | |
Percentage of the requests served within a certain time (ms) | |
50% 43 | |
66% 51 | |
75% 56 | |
80% 60 | |
90% 68 | |
95% 137 | |
98% 215 | |
99% 238 | |
100% 2552 (longest request) | |
eshortis@eshortis-OSX:~/workspaces/personal/aysnc-await ab -n 10000 -c 250 -r http://127.0.0.1:3001/ | |
This is ApacheBench, Version 2.3 <$Revision: 1663405 $> | |
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: | |
Server Hostname: 127.0.0.1 | |
Server Port: 3001 | |
Document Path: / | |
Document Length: 44 bytes | |
Concurrency Level: 250 | |
Time taken for tests: 23.492 seconds | |
Complete requests: 10000 | |
Failed requests: 766 | |
(Connect: 0, Receive: 383, Length: 383, Exceptions: 0) | |
Total transferred: 2365782 bytes | |
HTML transferred: 423148 bytes | |
Requests per second: 425.68 [#/sec] (mean) | |
Time per request: 587.298 [ms] (mean) | |
Time per request: 2.349 [ms] (mean, across all concurrent requests) | |
Transfer rate: 98.35 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 470 2929.8 41 20011 | |
Processing: 0 57 102.1 48 2586 | |
Waiting: 0 48 19.3 47 119 | |
Total: 0 526 2929.4 85 20076 | |
Percentage of the requests served within a certain time (ms) | |
50% 85 | |
66% 92 | |
75% 95 | |
80% 98 | |
90% 117 | |
95% 158 | |
98% 20009 | |
99% 20060 | |
100% 20076 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment