Created
November 11, 2010 17:59
-
-
Save jfarcand/672909 to your computer and use it in GitHub Desktop.
Comparing Apache HC 4.0.3 with AsyncHttpClient 1.3.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using | |
https://github.com/jfarcand/java-http-client-benchmark | |
demonstrate the performance difference between Apache HC 4 and AsyncHttpClient. Any load numbers produce the same ~3 times performance difference between the client: | |
Apache Http Client 4.0.3 | |
------------------------- | |
BenchmarkResult{requestsPerSecond=818.98, threads=5, batches=50, targetRequests=12500, successfulRequests=12500, failedRequests=0, averageRequestTime=1.22ms, averageBatchTime=3.05ms, totalBenchmarkTime=1.52ms} | |
AsyncHttpClient 1.3.4 | |
--------------------- | |
BenchmarkResult{requestsPerSecond=2579.91, threads=5, batches=50, targetRequests=12500, successfulRequests=12500, failedRequests=0, averageRequestTime=3.87ms, averageBatchTime=9.69ms, totalBenchmarkTime=4.84ms} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment