Created
May 22, 2016 19:06
-
-
Save darkpixel/3e81c9554334a6fb0ab06c9128c6cad9 to your computer and use it in GitHub Desktop.
Django vs Node
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
# Django | |
11:57:29 [aaron@ender:~/code/mspdna-receiver] master(+3/-3)* ± ab -s 60 -r -n 1000 -c 1000 -p test.json -T application/json http://127.0.0.1:8000/hook/v2/31038d0b2f2e01083001905ad22a759c67b0b908/a52b6347-37c3-49d4-b7f8-dd389c4dd0b8/ | |
This is ApacheBench, Version 2.3 <$Revision: 1528965 $> | |
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 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
Completed 400 requests | |
Completed 500 requests | |
Completed 600 requests | |
Completed 700 requests | |
Completed 800 requests | |
Completed 900 requests | |
Completed 1000 requests | |
Finished 1000 requests | |
Server Software: gunicorn/19.4.5 | |
Server Hostname: 127.0.0.1 | |
Server Port: 8000 | |
Document Path: /hook/v2/31038d0b2f2e01083001905ad22a759c67b0b908/a52b6347-37c3-49d4-b7f8-dd389c4dd0b8/ | |
Document Length: 102 bytes | |
Concurrency Level: 1000 | |
Time taken for tests: 109.643 seconds | |
Complete requests: 1000 | |
Failed requests: 8 | |
(Connect: 0, Receive: 2, Length: 4, Exceptions: 2) | |
Total transferred: 275892 bytes | |
Total body sent: 55577000 | |
HTML transferred: 101592 bytes | |
Requests per second: 9.12 [#/sec] (mean) | |
Time per request: 109642.734 [ms] (mean) | |
Time per request: 109.643 [ms] (mean, across all concurrent requests) | |
Transfer rate: 2.46 [Kbytes/sec] received | |
495.01 kb/s sent | |
497.47 kb/s total | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 54 752.9 0 15029 | |
Processing: 43 3900 5776.0 3666 102623 | |
Waiting: 0 3540 1538.9 3664 28557 | |
Total: 68 3955 6129.3 3670 109637 | |
Percentage of the requests served within a certain time (ms) | |
50% 3670 | |
66% 3731 | |
75% 3764 | |
80% 3789 | |
90% 3840 | |
95% 3882 | |
98% 3910 | |
99% 3918 | |
100% 109637 (longest request) | |
# Node | |
12:01:34 [aaron@ender:~/code/mspdna-receiver] master(+3/-3)* 1 ± ab -s 60 -r -n 60000 -c 1000 -p test.json -T application/json http://127.0.0.1:8001/hook/v2/31038d0b2f2e01083001905ad22a759c67b0b908/a52b6347-37c3-49d4-b7f8-dd389c4dd0b8/ | |
This is ApacheBench, Version 2.3 <$Revision: 1528965 $> | |
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 6000 requests | |
Completed 12000 requests | |
Completed 18000 requests | |
Completed 24000 requests | |
Completed 30000 requests | |
Completed 36000 requests | |
Completed 42000 requests | |
Completed 48000 requests | |
Completed 54000 requests | |
Completed 60000 requests | |
Finished 60000 requests | |
Server Software: | |
Server Hostname: 127.0.0.1 | |
Server Port: 8001 | |
Document Path: /hook/v2/31038d0b2f2e01083001905ad22a759c67b0b908/a52b6347-37c3-49d4-b7f8-dd389c4dd0b8/ | |
Document Length: 2 bytes | |
Concurrency Level: 1000 | |
Time taken for tests: 58.575 seconds | |
Complete requests: 60000 | |
Failed requests: 0 | |
Total transferred: 6000000 bytes | |
Total body sent: 3334620000 | |
HTML transferred: 120000 bytes | |
Requests per second: 1024.32 [#/sec] (mean) | |
Time per request: 976.255 [ms] (mean) | |
Time per request: 0.976 [ms] (mean, across all concurrent requests) | |
Transfer rate: 100.03 [Kbytes/sec] received | |
55594.51 kb/s sent | |
55694.55 kb/s total | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 1 4.4 0 41 | |
Processing: 3 970 2487.0 270 16536 | |
Waiting: 3 969 2487.0 270 16536 | |
Total: 4 970 2487.1 270 16536 | |
Percentage of the requests served within a certain time (ms) | |
50% 270 | |
66% 728 | |
75% 860 | |
80% 943 | |
90% 1173 | |
95% 5143 | |
98% 11984 | |
99% 14860 | |
100% 16536 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment