Created
August 29, 2015 21:53
-
-
Save ollien/be9d3a45b6ff7a4063f6 to your computer and use it in GitHub Desktop.
Cherrypy vs Flask Benchmarks
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
Nicks-MBP:~ Nick$ ab -n 2048 -c 5 http://127.0.0.1:8080/ | |
This is ApacheBench, Version 2.3 <$Revision: 1604373 $> | |
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 204 requests | |
Completed 408 requests | |
Completed 612 requests | |
Completed 816 requests | |
Completed 1020 requests | |
Completed 1224 requests | |
Completed 1428 requests | |
Completed 1632 requests | |
Completed 1836 requests | |
Completed 2040 requests | |
Finished 2048 requests | |
Server Software: CherryPy/3.8.0 | |
Server Hostname: 127.0.0.1 | |
Server Port: 8080 | |
Document Path: / | |
Document Length: 1451 bytes | |
Concurrency Level: 5 | |
Time taken for tests: 50.968 seconds | |
Complete requests: 2048 | |
Failed requests: 0 | |
Total transferred: 3260416 bytes | |
HTML transferred: 2971648 bytes | |
Requests per second: 40.18 [#/sec] (mean) | |
Time per request: 124.434 [ms] (mean) | |
Time per request: 24.887 [ms] (mean, across all concurrent requests) | |
Transfer rate: 62.47 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.1 0 1 | |
Processing: 32 124 10.9 123 174 | |
Waiting: 32 124 10.8 123 174 | |
Total: 32 124 10.9 124 174 | |
Percentage of the requests served within a certain time (ms) | |
50% 124 | |
66% 127 | |
75% 130 | |
80% 132 | |
90% 139 | |
95% 145 | |
98% 151 | |
99% 156 | |
100% 174 (longest request) |
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
Nicks-MBP:~ Nick$ ab -n 2048 -c 5 http://127.0.0.1:8080/ | |
This is ApacheBench, Version 2.3 <$Revision: 1604373 $> | |
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 204 requests | |
Completed 408 requests | |
Completed 612 requests | |
Completed 816 requests | |
Completed 1020 requests | |
Completed 1224 requests | |
Completed 1428 requests | |
Completed 1632 requests | |
Completed 1836 requests | |
Completed 2040 requests | |
Finished 2048 requests | |
Server Software: Werkzeug/0.10.4 | |
Server Hostname: 127.0.0.1 | |
Server Port: 8080 | |
Document Path: / | |
Document Length: 1451 bytes | |
Concurrency Level: 5 | |
Time taken for tests: 52.053 seconds | |
Complete requests: 2048 | |
Failed requests: 0 | |
Total transferred: 3291136 bytes | |
HTML transferred: 2971648 bytes | |
Requests per second: 39.34 [#/sec] (mean) | |
Time per request: 127.082 [ms] (mean) | |
Time per request: 25.416 [ms] (mean, across all concurrent requests) | |
Transfer rate: 61.74 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.1 0 1 | |
Processing: 39 127 6.4 125 155 | |
Waiting: 39 127 6.4 125 155 | |
Total: 39 127 6.4 125 155 | |
Percentage of the requests served within a certain time (ms) | |
50% 125 | |
66% 129 | |
75% 130 | |
80% 130 | |
90% 135 | |
95% 140 | |
98% 142 | |
99% 145 | |
100% 155 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it turns out that flask is almost no different from cherrypy