Hello,

Can you link to the code on a web page like Github Gists, the attachments do 
not survive the  mailing list.

However it's unlikely  that somebody can work specifically on your problem. Do 
you see different speeds or maybe did some profiling which can make this a bit 
easier to understand?

Gruss
Bernd
--
http://bernd.eckenfels.net

________________________________
Von: Kaushal Kothari <kaushalkothari2...@gmail.com>
Gesendet: Donnerstag, Dezember 19, 2019 11:44 AM
An: httpclient-users@hc.apache.org; httpclient-users-h...@hc.apache.org
Betreff: High CPU utilization with HTTP Client 4.x vs HTTP Client 3.x

Hi Team,

I am running a simple java program with HTTP Client libs to determine CPU usage 
between HTTP client 3 (commans-logging ) and HTTP client 4.5.5.I could see the 
difference of 10-12% and which is causing high CPU utilization in physical 
machine.

In HTTP Client 3, CPU utilization of HTTP client process is 2-3% whereas in 
case of HTTP Client 4.5.5 is 10-12%.

Here, I am attaching the java code which I am using and you can use any server.

Please let me know if any other information is required.

Thanks.
Kaushal.

Reply via email to