RE: GetMethod Performance

2004-02-17 Thread Ben Wong
d the line log4j.category.httpclient.wire=INFO, STDOUT to the log4j.properties and everything is working happily now. -Original Message- From: Ben Wong [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 10:06 PM To: 'Commons HttpClient Project' Subject: RE: GetMethod Perfor

RE: GetMethod Performance

2004-02-17 Thread Ben Wong
PROTECTED] Sent: Tuesday, 17 February 2004 9:50 PM To: Commons HttpClient Project Subject: RE: GetMethod Performance Hello Ben, Sorry, I got mixed up because yesterday there was another poster reporting performance problems when using SSL. So forget my comment about the secure socket factory

RE: GetMethod Performance

2004-02-17 Thread Roland Weber
heers, Roland "Ben Wong" <[EMAIL PROTECTED]> 17.02.2004 11:10 Please respond to "Commons HttpClient Project" To: "'Commons HttpClient Project'" <[EMAIL PROTECTED]> cc: Subject:RE: GetMethod Performance I

RE: GetMethod Performance

2004-02-17 Thread Kalnichevski, Oleg
ailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 11:10 To: 'Commons HttpClient Project' Subject: RE: GetMethod Performance I am running the same code on both boxes, even the same JAR file. I am not sure why crypto is involved as I was only retrieving content over HTTP. I used the Ht

RE: GetMethod Performance

2004-02-17 Thread Ben Wong
ement, otherwise you simply end up measuring the speed of console output Oleg -Original Message- From: Ben Wong [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 23:40 To: 'Commons HttpClient Project' Subject: RE: GetMethod Performance Windows Profile attached. An

RE: GetMethod Performance

2004-02-17 Thread Kalnichevski, Oleg
simply end up measuring the speed of console output Oleg -Original Message- From: Ben Wong [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 23:40 To: 'Commons HttpClient Project' Subject: RE: GetMethod Performance Windows Profile attached. Any help would be appreciate

RE: GetMethod Performance

2004-02-16 Thread Roland Weber
tocolSocketFactory to use the faster crypto service provider. cheers, Roland "Ben Wong" <[EMAIL PROTECTED]> 16.02.2004 23:39 Please respond to "Commons HttpClient Project" To: "'Commons HttpClient Project'" <[EMAIL PROTECT

RE: GetMethod Performance

2004-02-16 Thread Ben Wong
Windows Profile attached. Any help would be appreciated Windows XP on P-M 1.4 - Flat profile of 3.44 secs (322 total ticks): main Interpreted + native Method 7.5% 0 +24java.net.SocketInputStream.socketRead0 7.2% 0 +23ja

RE: GetMethod Performance

2004-02-16 Thread Ben Wong
t: RE: GetMethod Performance Ben, Try the following: (1) disable stale connections check SimpleHttpConnectionManager connman = new SimpleHttpConnectionManager(); connman.setConnectionStaleCheckingEnabled(false); HttpClient client = new HttpClient(connman); http://jakarta.apache.org/co

RE: GetMethod Performance

2004-02-16 Thread Kalnichevski, Oleg
Ben, Try the following: (1) disable stale connections check SimpleHttpConnectionManager connman = new SimpleHttpConnectionManager(); connman.setConnectionStaleCheckingEnabled(false); HttpClient client = new HttpClient(connman); http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/com

RE: GetMethod Performance

2004-02-15 Thread Roland Weber
hat I should do when I execute Java class from console on Sun box? Or do they have a different JVM configuration? -Original Message- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: Monday, 16 February 2004 5:25 PM To: Commons HttpClient Project Subject: Re: GetMethod Performance Hi Ben

RE: GetMethod Performance

2004-02-15 Thread Ben Wong
a different JVM configuration? -Original Message- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: Monday, 16 February 2004 5:25 PM To: Commons HttpClient Project Subject: Re: GetMethod Performance Hi Ben, that is indeed a big difference. Two questions: 1. The HttpClient example uses

Re: GetMethod Performance

2004-02-15 Thread Roland Weber
Hi Ben, that is indeed a big difference. Two questions: 1. The HttpClient example uses IP address 192.168.0.1, the Socket example connects to 192.168.0.11 Is that a typo, or do you indeed access a different host? If that different host is a caching proxy, that would be an explanation.

Re: GetMethod Performance

2004-02-15 Thread Michael Becke
Hi Ben, I believe your HttpClient numbers are being inflated by one-time initialization costs. I was able to get approximately the same numbers with HttpClient and Socket. Please see my examples attached below: Mike HttpClient code: HttpClient client = new HttpClient(); GetM