Am 2015-05-24 um 12:17 schrieb Oleg Kalnichevski:
[...]
These are micro-benchmark workers that I use to compare relative
performance of the clients
http://svn.apache.org/repos/asf/httpcomponents/benchmark/httpclient/trunk/src/main/java/org/apache/http/client/benchmark/ApacheHttpClient.java
http://svn.apache.org/repos/asf/httpcomponents/benchmark/httpclient/trunk/src/main/java/org/apache/http/client/benchmark/ApacheHttpAsyncClient.java
Could you please run them against your test URI?
Tests are done, though they were confusing at the first sight. Warmup
and target URIs always point to localhost. I have swapped them for
config.getUri.
=================================
HTTP agent: HttpCore NIO (ver: 4.4)
---------------------------------
10000 POST requests
---------------------------------
Document URI: ...
Document Length: 0 bytes
Concurrency level: 50
Time taken for tests: 81.198 seconds
Complete requests: 0
Failed requests: 10000
Content transferred: 0 bytes
Requests per second: 0.0 [#/sec] (mean)
---------------------------------
=================================
HTTP agent: Apache HttpClient (ver: 4.4)
---------------------------------
10000 POST requests
---------------------------------
Document URI: ...
Document Length: 1279 bytes
Concurrency level: 50
Time taken for tests: 4.259 seconds
Complete requests: 0
Failed requests: 10000
Content transferred: 12790000 bytes
Requests per second: 0.0 [#/sec] (mean)
---------------------------------
=================================
HTTP agent: Apache HttpAsyncClient (ver: 4.1)
---------------------------------
10000 POST requests
---------------------------------
Document URI: ...
Document Length: 1279 bytes
Concurrency level: 50
Time taken for tests: 3.667 seconds
Complete requests: 0
Failed requests: 10000
Content transferred: 12790000 bytes
Requests per second: 0.0 [#/sec] (mean)
---------------------------------
Please note that the remote server does not accept any post requests
without several other preparing requests and additionally require a
one-time ticket. Results may be biased.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org