>> For some reason the HttpClient built by HttpClientBuilder, even when
>> everything is turned is not only slower than minimalClient (to be
>> expected) but also slower than DefaultHttpClient in previous versions.
>>  Not a major difference, but definitely the inverse of what of whats
>> in the results you sent.
>>
>
> I am sorry I cannot reproduce it. I replaced HC in minimal configuration
> with this

With the configuration for 4.3.3 that you used i get:

  - Jetty SelectChannelConnector:
      32 core:  3.1 is 10% faster.   (CPU: 4.3.3-> 1470%, 3.1 -> 1780% )
      4 core:  4.3.3 is 5% faster.

  - Jetty BlockingChannelConnector
      32 core:  3.1 is 12.5% faster (CPU: 4.3.3 -> 1210%, 3.1 -> 1640%)
      4 core:  4.3.3 is 30% faster

(I ran them separately and not in same gradle run, to be completely
fair * I adjusted invocation count to ensure test ran for at least 1
minute)

Summary:
   1) 3.1 is slightly faster than 4.3.3 when there is no cpu
constraint.  When using the Jetty BlockingChannelConnector, this can
be seen more clearly.
   2)  When CPU is constrained 4.3.3 runs faster. Using
BlockingChannelConnector makes this much more significant.

Note:
While i didn't test minimalClient again, from earlier testing, this
behaviour seems to affect HTTPClientBuilder/InternalHttpClient but not
minimalClient.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to