You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Zulfi Umrani <zu...@novell.com> on 2004/08/20 07:06:12 UTC
HttpClient performance
Hi,
Just wanted to get the latest information on the performance issues
reported earlier. I have gone through the below emails from Archive, but
could not get a definite solution to the performance problem. Wondering
whether a definite solution was found and whether there is a patch
available. We tested the performance using pre-release-candidate version
of HttpClient(2.0) and it was much better than the release-candidate
versions and the final 2.0 version of HttpClient. Please note that I did
try using the SimpleHttpConnectionManager and calling the
setConnectionStaleCheckingEnabled method with false argument. The
performance does improve, but it is still slower than using JDK-1.4.2. I
will appreciate if someone who knows the solution can respond.
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781750
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781859
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781909
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=779703
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: HttpClient performance (with download URL)
Posted by Ortwin Glück <or...@nose.ch>.
Zulfi,
I ran the profiler on
HttpClient 2.0-alpha3 and
HttpClient 2.0 Branch latest CVS
I basically used Oleg's test case provided in the email thread you
mentioned (code included).
I turned off logging and stale connection checking. I ran the tests
against a local Tomcat on a Win2k Pro workstation with JDK 1.4.2_02 in
Eclipse 3.0.
The profiler used was:
http://eclipsecolorer.sourceforge.net/index_profiler.html
Feel free to discuss the results. Results are available for 7 days at:
ftp://ftp.nose.ch/pub/outgoing/httpclient/profiling.zip
Ortwin Glück
Zulfi Umrani wrote:
> Hi,
>
> Just wanted to get the latest information on the performance issues
> reported earlier. I have gone through the below emails from Archive, but
> could not get a definite solution to the performance problem. Wondering
> whether a definite solution was found and whether there is a patch
> available. We tested the performance using pre-release-candidate version
> of HttpClient(2.0) and it was much better than the release-candidate
> versions and the final 2.0 version of HttpClient. Please note that I did
> try using the SimpleHttpConnectionManager and calling the
> setConnectionStaleCheckingEnabled method with false argument. The
> performance does improve, but it is still slower than using JDK-1.4.2. I
> will appreciate if someone who knows the solution can respond.
>
>
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781750
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781859
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781909
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=779703
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
--
_________________________________________________________________
NOSE applied intelligence ag
ortwin glück [www] http://www.nose.ch
software engineer
hardturmstrasse 171 [pgp id] 0x81CF3416
8005 zürich [office] +41-1-277 57 35
switzerland [fax] +41-1-277 57 12
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: HttpClient performance
Posted by Ortwin Glück <or...@nose.ch>.
Zulfi,
I ran the profiler on
HttpClient 2.0-alpha3 and
HttpClient 2.0 Branch latest CVS
I basically used Oleg's test case provided in the email thread you
mentioned (code included).
I turned off logging and stale connection checking. I ran the tests
against a local Tomcat on a Win2k Pro workstation with JDK 1.4.2_02 in
Eclipse 3.0.
The profiler used was:
http://eclipsecolorer.sourceforge.net/index_profiler.html
Feel free to discuss the results attached to this email.
Ortwin Glück
Zulfi Umrani wrote:
> Hi,
>
> Just wanted to get the latest information on the performance issues
> reported earlier. I have gone through the below emails from Archive, but
> could not get a definite solution to the performance problem. Wondering
> whether a definite solution was found and whether there is a patch
> available. We tested the performance using pre-release-candidate version
> of HttpClient(2.0) and it was much better than the release-candidate
> versions and the final 2.0 version of HttpClient. Please note that I did
> try using the SimpleHttpConnectionManager and calling the
> setConnectionStaleCheckingEnabled method with false argument. The
> performance does improve, but it is still slower than using JDK-1.4.2. I
> will appreciate if someone who knows the solution can respond.
>
>
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781750
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781859
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=781909
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-httpclient-dev@jakarta.apache.org&msgId=779703
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
--
_________________________________________________________________
NOSE applied intelligence ag
ortwin glück [www] http://www.nose.ch
software engineer
hardturmstrasse 171 [pgp id] 0x81CF3416
8005 zürich [office] +41-1-277 57 35
switzerland [fax] +41-1-277 57 12
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org