currently we are helping a customer to upgrade their ofbiz version. We are using "Apache bench" to test the ecommerce frontend.
We now found that the current trunk is dramatically slower than rev 728596 from about 1.5 years ago. the test results: rev 728596: total time : 34.667 seconds Requests per second: 14.42 [#/sec] trunk rev 959845 total time : 152.698 seconds Requests per second: 3.27 [#/sec] below the complete test results. Help appreciated. Regards, Hans. Test results, local compute ubuntu 10.04 java memory allocation max 2048Mb running in background, cache enabled. (cache.properties) command line: ab -n 500 -c 50 http://localhost:8080/ecommerce/control/main rev 728596 ----------- Server Software: Apache-Coyote/1.1 Server Hostname: localhost Server Port: 8080 Document Path: /ecommerce/control/main Document Length: 60531 bytes Concurrency Level: 50 Time taken for tests: 34.667 seconds Complete requests: 500 Failed requests: 496 (Connect: 0, Receive: 0, Length: 496, Exceptions: 0) Write errors: 0 Total transferred: 30412908 bytes HTML transferred: 30262908 bytes Requests per second: 14.42 [#/sec] (mean) Time per request: 3466.737 [ms] (mean) Time per request: 69.335 [ms] (mean, across all concurrent requests) Transfer rate: 856.72 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 198 745.6 0 3000 Processing: 1173 3239 778.2 3228 6287 Waiting: 40 433 318.7 357 1879 Total: 1173 3437 1287.7 3228 9287 rev 959845 =========== Server Software: Apache-Coyote/1.1 Server Hostname: localhost Server Port: 8080 Document Path: /ecommerce/control/main Document Length: 65788 bytes Concurrency Level: 50 Time taken for tests: 152.698 seconds Complete requests: 500 Failed requests: 499 (Connect: 0, Receive: 0, Length: 499, Exceptions: 0) Write errors: 0 Total transferred: 33189975 bytes HTML transferred: 33039975 bytes Requests per second: 3.27 [#/sec] (mean) Time per request: 15269.837 [ms] (mean) Time per request: 305.397 [ms] (mean, across all concurrent requests) Transfer rate: 212.26 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 6.6 0 30 Processing: 11504 15083 1122.0 15065 19496 Waiting: 214 1312 355.2 1294 2751 Total: 11504 15086 1123.5 15065 19497 -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates.
