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" + === 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 === + ==== 200,000 HTTP GETs, keep alive, content length: 22 bytes ==== - ==== HttpClient 3.x ==== + * !HttpClient 3.x {{{ java -cp bin:/opt/libjava/commons-httpclient.jar:/opt/libjava/commons-logging.jar:/opt/libjava/commons-codec.jar \ @@ -360, +360 @@ Time per request: 0.14572 [ms] (mean) }}} - ==== HttpClient 4.x ==== + * !HttpClient 4.x {{{ java -cp bin:/opt/libjava/commons-logging.jar:/opt/libjava/commons-codec.jar:lib/httpcore-4.0-alpha5.jar: @@ -382, +382 @@ Time per request: 0.12204 [ms] (mean) }}} - ==== HttpCore 4.x ==== + * !HttpCore 4.x {{{ java -cp bin:lib/httpcore-4.0-alpha5.jar \ @@ -403, +403 @@ Time per request: 0.097835 [ms] (mean) }}} + ==== 200,000 HTTP GETs, keep alive, content length: 20,000 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/blob 200000 + }}} + + {{{ + Server Software: Apache/2.2.3 (Ubuntu) mod_ssl/2.2.3 OpenSSL/0.9.8c + + Document URI: http://localhost/blob + Document Length: 20000 bytes + + Time taken for tests: 35.809 seconds + Complete requests: 200000 + Failed requests: 0 + Content transferred: 4000000000 bytes + Requests per second: 5585.1885 [#/sec] (mean) + Time per request: 0.179045 [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/blob 200000 + }}} + + {{{ + Server Software: Apache/2.2.3 (Ubuntu) mod_ssl/2.2.3 OpenSSL/0.9.8c + + Document URI: http://localhost/blob + Document Length: 20000 bytes + + Time taken for tests: 33.398 seconds + Complete requests: 200000 + Failed requests: 0 + Content transferred: 4000000000 bytes + Requests per second: 5988.383 [#/sec] (mean) + Time per request: 0.16699 [ms] (mean) + }}} + + * !HttpCore 4.x + + {{{ + java -cp bin:lib/httpcore-4.0-alpha5.jar \ + test.perf.HttpCorePerfTest http://localhost/blob 200000 + }}} + + {{{ + Server Software: Apache/2.2.3 (Ubuntu) mod_ssl/2.2.3 OpenSSL/0.9.8c + + Document URI: http://localhost/blob + Document Length: 20000 bytes + + Time taken for tests: 28.584 seconds + Complete requests: 200000 + Failed requests: 0 + Content transferred: 4000000000 bytes + Requests per second: 6996.9214 [#/sec] (mean) + Time per request: 0.14292 [ms] (mean) + }}} + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
