Hi Bernd, You can get the code from below link. https://github.com/kaushalkothari/HTTPClients
Please run the code and check the CPU utilization through jvisualvm which comes with jdk. On Thu, Dec 19, 2019 at 4:14 PM Kaushal Kothari < [email protected]> wrote: > 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. >
