Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-httpclient Wiki" for change notification.
The following page has been changed by OlegKalnichevski: http://wiki.apache.org/jakarta-httpclient/HttpClient3vsHttpClient4vsHttpCore ------------------------------------------------------------------------------ }}} + == Results == + + Platform: Ubuntu Linux 7.04 (i686, 2.6.20-16-generic); java version "1.5.0_11" + + === 200,000 HTTP GETs, keep alive, content length: 22 bytes === + + ==== HttpClient 3.x ==== + + {{{ + java -cp bin:/opt/libjava/commons-httpclient.jar:/opt/libjava/commons-logging.jar:/opt/libjava/commons-codec.jar \ + test.perf.HttpClient3PerfTest http://localhost/msg.txt 200000 + }}} + + {{{ + Server Software: Apache/2.2.3 (Ubuntu) mod_ssl/2.2.3 OpenSSL/0.9.8c + + Document URI: http://localhost/msg.txt + Document Length: 22 bytes + + Time taken for tests: 29.144 seconds + Complete requests: 200000 + Failed requests: 0 + Content transferred: 4400000 bytes + Requests per second: 6862.476 [#/sec] (mean) + Time per request: 0.14572 [ms] (mean) + }}} + + ==== HttpClient 4.x ==== + + {{{ + java -cp bin:/opt/libjava/commons-logging.jar:/opt/libjava/commons-codec.jar:lib/httpcore-4.0-alpha5.jar: + lib/httpclient-4.0-alpha1-SNAPSHOT.jar \ + test.perf.HttpClient4PerfTest http://localhost/msg.txt 200000 + }}} + + {{{ + Server Software: Apache/2.2.3 (Ubuntu) mod_ssl/2.2.3 OpenSSL/0.9.8c + + Document URI: http://localhost/msg.txt + Document Length: 22 bytes + + Time taken for tests: 24.408 seconds + Complete requests: 200000 + Failed requests: 0 + Content transferred: 4400000 bytes + Requests per second: 8194.034 [#/sec] (mean) + Time per request: 0.12204 [ms] (mean) + }}} + + ==== HttpCore 4.x ==== + + {{{ + java -cp bin:lib/httpcore-4.0-alpha5.jar \ + test.perf.HttpCorePerfTest http://localhost/msg.txt 200000 + }}} + + {{{ + Server Software: Apache/2.2.3 (Ubuntu) mod_ssl/2.2.3 OpenSSL/0.9.8c + + Document URI: http://localhost/msg.txt + Document Length: 22 bytes + + Time taken for tests: 19.567 seconds + Complete requests: 200000 + Failed requests: 0 + Content transferred: 4400000 bytes + Requests per second: 10221.291 [#/sec] (mean) + Time per request: 0.097835 [ms] (mean) + }}} + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
