CherryPy 2.1 - Caching on ======================================================= Server Software: CherryPy/2.1.1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3679 bytes Concurrency Level: 20 Time taken for tests: 5.865 seconds Complete requests: 1000 Failed requests: 8 (Connect: 4, Length: 4, Exceptions: 0) Broken pipe errors: 0 Total transferred: 3888384 bytes HTML transferred: 3664284 bytes Requests per second: 170.50 [#/sec] (mean) Time per request: 117.30 [ms] (mean) Time per request: 5.86 [ms] (mean, across all concurrent requests) Transfer rate: 662.98 [Kbytes/sec] received CherryPy 2.1 - Caching off ======================================================= Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 0 bytes Concurrency Level: 10 Time taken for tests: 43.605 seconds Complete requests: 300 Failed requests: 298 (Connect: 0, Length: 298, Exceptions: 0) Broken pipe errors: 0 Total transferred: 1163392 bytes HTML transferred: 1096342 bytes Requests per second: 6.88 [#/sec] (mean) Time per request: 1453.50 [ms] (mean) Time per request: 145.35 [ms] (mean, across all concurrent requests) Transfer rate: 26.68 [Kbytes/sec] received SQL connection fix - Caching off ======================================================= Server Software: CherryPy/2.1.1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3679 bytes Concurrency Level: 10 Time taken for tests: 42.243 seconds Complete requests: 300 Failed requests: 2 (Connect: 2, Length: 0, Exceptions: 0) Broken pipe errors: 0 Total transferred: 1163392 bytes HTML transferred: 1096342 bytes Requests per second: 7.10 [#/sec] (mean) Time per request: 1408.10 [ms] (mean) Time per request: 140.81 [ms] (mean, across all concurrent requests) Transfer rate: 27.54 [Kbytes/sec] received Tart port - Caching on ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 8080 Document Path: /site/ Document Length: 3679 bytes Concurrency Level: 1 Time taken for tests: 0.942 seconds Complete requests: 300 Failed requests: 0 Broken pipe errors: 0 Total transferred: 1159800 bytes HTML transferred: 1103700 bytes Requests per second: 318.47 [#/sec] (mean) Time per request: 3.14 [ms] (mean) Time per request: 3.14 [ms] (mean, across all concurrent requests) Transfer rate: 1231.21 [Kbytes/sec] received Tart port - Caching on - PasteWSGI server ======================================================= Server Software: PasteWSGIServer/0.5 Server Hostname: localhost Server Port: 8080 Document Path: /site/ Document Length: 3679 bytes Concurrency Level: 20 Time taken for tests: 3.599 seconds Complete requests: 1000 Failed requests: 50 (Connect: 4, Length: 46, Exceptions: 0) Broken pipe errors: 0 Total transferred: 3720600 bytes HTML transferred: 3509766 bytes Requests per second: 277.85 [#/sec] (mean) Time per request: 71.98 [ms] (mean) Time per request: 3.60 [ms] (mean, across all concurrent requests) Transfer rate: 1033.79 [Kbytes/sec] received Tart port - Caching on - PasteWSGI thread pool server ======================================================= Server Software: PasteWSGIServer/0.5 Server Hostname: localhost Server Port: 8080 Document Path: /site/ Document Length: 3679 bytes Concurrency Level: 20 Time taken for tests: 3.201 seconds Complete requests: 1000 Failed requests: 8 (Connect: 4, Length: 4, Exceptions: 0) Broken pipe errors: 0 Total transferred: 3888517 bytes HTML transferred: 3667963 bytes Requests per second: 312.40 [#/sec] (mean) Time per request: 64.02 [ms] (mean) Time per request: 3.20 [ms] (mean, across all concurrent requests) Transfer rate: 1214.78 [Kbytes/sec] received Tart port - New resolution ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 8080 Document Path: /site/ Document Length: 3679 bytes Concurrency Level: 20 Time taken for tests: 2.628 seconds Complete requests: 1000 Failed requests: 11 (Connect: 11, Length: 0, Exceptions: 0) Broken pipe errors: 0 Total transferred: 3823474 bytes HTML transferred: 3638531 bytes Requests per second: 380.52 [#/sec] (mean) Time per request: 52.56 [ms] (mean) Time per request: 2.63 [ms] (mean, across all concurrent requests) Transfer rate: 1454.90 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 4 Processing: 0 20 5.0 20 50 Waiting: 0 20 5.0 19 50 Total: 0 20 5.0 20 50 Tart port without caching - raw perfomance ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 8080 Document Path: / Document Length: 3248 bytes Concurrency Level: 20 Time taken for tests: 67.537 seconds Complete requests: 500 Failed requests: 220 (Connect: 4, Length: 216, Exceptions: 0) Broken pipe errors: 0 Total transferred: 1919946 bytes HTML transferred: 1822730 bytes Requests per second: 7.40 [#/sec] (mean) Time per request: 2701.48 [ms] (mean) Time per request: 135.07 [ms] (mean, across all concurrent requests) Transfer rate: 28.43 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 29 291.1 0 2924 Processing: 1 2630 510.2 2673 3784 Waiting: 0 2629 510.2 2673 3784 Total: 1 2659 578.3 2679 5745 Optimizations ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3407 bytes Concurrency Level: 20 Time taken for tests: 5.891 seconds Complete requests: 500 Failed requests: 36 (Connect: 4, Length: 32, Exceptions: 0) Broken pipe errors: 0 Total transferred: 1791118 bytes HTML transferred: 1693706 bytes Requests per second: 84.88 [#/sec] (mean) Time per request: 235.64 [ms] (mean) Time per request: 11.78 [ms] (mean, across all concurrent requests) Transfer rate: 304.04 [Kbytes/sec] received Without Errormiddleware (debug=True) ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3407 bytes Concurrency Level: 20 Time taken for tests: 5.251 seconds Complete requests: 500 Failed requests: 51 (Connect: 1, Length: 50, Exceptions: 0) Broken pipe errors: 0 Total transferred: 1798749 bytes HTML transferred: 1700945 bytes Requests per second: 95.22 [#/sec] (mean) Time per request: 210.04 [ms] (mean) Time per request: 10.50 [ms] (mean, across all concurrent requests) Transfer rate: 342.55 [Kbytes/sec] received Final (without server log_in session checking) - caching on ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3407 bytes Concurrency Level: 10 Time taken for tests: 3.247 seconds Complete requests: 2000 Failed requests: 0 Broken pipe errors: 0 Total transferred: 7058122 bytes HTML transferred: 6814000 bytes Requests per second: 615.95 [#/sec] (mean) Time per request: 16.24 [ms] (mean) Time per request: 1.62 [ms] (mean, across all concurrent requests) Transfer rate: 2173.74 [Kbytes/sec] received Final (without server log_in session checking) - caching off ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3407 bytes Concurrency Level: 5 Time taken for tests: 19.277 seconds Complete requests: 2000 Failed requests: 11 (Connect: 0, Length: 11, Exceptions: 0) Broken pipe errors: 0 Total transferred: 7207278 bytes HTML transferred: 6815278 bytes Requests per second: 103.75 [#/sec] (mean) Time per request: 48.19 [ms] (mean) Time per request: 9.64 [ms] (mean, across all concurrent requests) Transfer rate: 373.88 [Kbytes/sec] received Apache handling of static files ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 80 Document Path: / Document Length: 3697 bytes Concurrency Level: 20 Time taken for tests: 6.462 seconds Complete requests: 500 Failed requests: 97 (Connect: 0, Length: 97, Exceptions: 0) Broken pipe errors: 0 Total transferred: 1978324 bytes HTML transferred: 1861324 bytes Requests per second: 77.38 [#/sec] (mean) Time per request: 258.48 [ms] (mean) Time per request: 12.92 [ms] (mean, across all concurrent requests) Transfer rate: 306.15 [Kbytes/sec] received With Postgres ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3416 bytes Concurrency Level: 10 Time taken for tests: 22.966 seconds Complete requests: 2000 Failed requests: 103 (Connect: 0, Length: 103, Exceptions: 0) Broken pipe errors: 0 Total transferred: 7232520 bytes HTML transferred: 6840520 bytes Requests per second: 87.09 [#/sec] (mean) Time per request: 114.83 [ms] (mean) Time per request: 11.48 [ms] (mean, across all concurrent requests) Transfer rate: 314.92 [Kbytes/sec] received MySQL ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 6389 bytes Concurrency Level: 10 Time taken for tests: 21.536 seconds Complete requests: 2000 Failed requests: 1999 (Connect: 0, Length: 1999, Exceptions: 0) Broken pipe errors: 0 Total transferred: 7206852 bytes HTML transferred: 6814852 bytes Requests per second: 92.87 [#/sec] (mean) Time per request: 107.68 [ms] (mean) Time per request: 10.77 [ms] (mean, across all concurrent requests) Transfer rate: 334.64 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 3 90.5 0 2863 Processing: 26 104 64.4 98 1106 Waiting: 25 104 64.3 98 1106 Total: 26 107 111.4 98 3014 Paste server - Caching off: ======================================================= Server Software: PasteWSGIServer/0.5 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3407 bytes Concurrency Level: 10 Time taken for tests: 20.924 seconds Complete requests: 2000 Failed requests: 2 (Connect: 2, Length: 0, Exceptions: 0) Broken pipe errors: 0 Total transferred: 7266726 bytes HTML transferred: 6807186 bytes Requests per second: 95.58 [#/sec] (mean) Time per request: 104.62 [ms] (mean) Time per request: 10.46 [ms] (mean, across all concurrent requests) Transfer rate: 347.29 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 19 239.4 0 3000 Processing: 4 83 5.6 83 155 Waiting: 0 83 5.6 82 155 Total: 4 103 239.7 83 3088 Percentage of the requests served within a certain time (ms) 50% 83 66% 83 75% 83 80% 83 90% 85 95% 87 98% 101 99% 127 100% 3088 (last request) Paste server - Caching On: ======================================================= Server Software: PasteWSGIServer/0.5 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3407 bytes Concurrency Level: 10 Time taken for tests: 20.899 seconds Complete requests: 2000 Failed requests: 2 (Connect: 1, Length: 1, Exceptions: 0) Broken pipe errors: 0 Total transferred: 7270363 bytes HTML transferred: 6810593 bytes Requests per second: 95.70 [#/sec] (mean) Time per request: 104.50 [ms] (mean) Time per request: 10.45 [ms] (mean, across all concurrent requests) Transfer rate: 347.88 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 3 90.7 0 2869 Processing: 5 83 4.3 83 123 Waiting: 0 83 4.3 83 123 Total: 5 86 89.5 83 2955 Percentage of the requests served within a certain time (ms) 50% 83 66% 83 75% 83 80% 84 90% 84 95% 85 98% 86 99% 87 100% 2955 (last request) CherryPy WSGI server - Caching off: ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3407 bytes Concurrency Level: 10 Time taken for tests: 20.338 seconds Complete requests: 2000 Failed requests: 26 (Connect: 0, Length: 26, Exceptions: 0) Broken pipe errors: 0 Total transferred: 7206852 bytes HTML transferred: 6814852 bytes Requests per second: 98.34 [#/sec] (mean) Time per request: 101.69 [ms] (mean) Time per request: 10.17 [ms] (mean, across all concurrent requests) Transfer rate: 354.35 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 4 112.9 0 2946 Processing: 10 97 29.8 94 246 Waiting: 10 97 29.8 94 246 Total: 10 101 117.6 94 3053 Percentage of the requests served within a certain time (ms) 50% 94 66% 105 75% 112 80% 117 90% 134 95% 152 98% 178 99% 190 100% 3053 (last request) CherryPy WSGI server - Caching on: ======================================================= Server Software: CherryPy/2.2.0rc1 Server Hostname: localhost Server Port: 14003 Document Path: / Document Length: 3407 bytes Concurrency Level: 10 Time taken for tests: 5.148 seconds Complete requests: 2000 Failed requests: 2 (Connect: 1, Length: 1, Exceptions: 0) Broken pipe errors: 0 Total transferred: 7198990 bytes HTML transferred: 6807186 bytes Requests per second: 388.50 [#/sec] (mean) Time per request: 25.74 [ms] (mean) Time per request: 2.57 [ms] (mean, across all concurrent requests) Transfer rate: 1398.41 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 1 59.4 0 2659 Processing: 0 22 6.7 21 108 Waiting: 0 22 6.7 21 108 Total: 0 23 59.9 21 2685 Percentage of the requests served within a certain time (ms) 50% 21 66% 22 75% 23 80% 24 90% 27 95% 30 98% 34 99% 37 100% 2685 (last request)