My numbers show roughly the opposite, but unfortunately I can't share the code.
================================= Apache-HttpClient5 ================================= Concurrency level : 50 Time taken for tests: 4.91 secs Complete requests : 100,000 Failed requests : 0 Requests per second : 20,379.05 Avg request latency : 2,440 us ================================= Apache-HttpClient-4.5 ================================= Concurrency level : 50 Time taken for tests: 4.03 secs Complete requests : 100,000 Failed requests : 0 Requests per second : 24,795.44 Avg request latency : 2,005 us ================================= Apache-HttpClient5-Async ================================= Concurrency level : 50 Time taken for tests: 5.58 secs Complete requests : 100,000 Failed requests : 0 Requests per second : 17,911.52 Avg request latency : 2,784 us ================================= Apache-HttpAsyncClient-4.1 ================================= Concurrency level : 50 Time taken for tests: 4.89 secs Complete requests : 100,000 Failed requests : 0 Requests per second : 20,437.36 Avg request latency : 2,440 us On Sat, Jun 22, 2019 at 5:20 AM Oleg Kalnichevski <[email protected]> wrote: > Folks > > I updated my (very unscientific and biased) HttpClient benchmark [1] > and got quite satisfactory results so far. > > https://github.com/ok2c/httpclient-benchmark/wiki > > > Classic HttpClient 5.0 appears some 5 to 10% faster than HttpClient 4.5 > and is presently the fastest. > > HttpAsyncClient 5.0 appears to be 5 to 10% slower than HttpAsyncClient > 4.1 but it does not look too bad as far as I am concerned and we have > not done _any_ performance optimization on the new 5.0 code yet. There > is still a change the performance gap can be reduced. > > Feel free to take look and let me know if you get different results. > > Oleg > > [1] https://github.com/ok2c/httpclient-benchmark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
