RE: GetMethod Performance

2004-02-17 Thread Ben Wong
, 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. Any help would

RE: GetMethod Performance

2004-02-17 Thread Ben Wong
smaller file and to get a wire log for both machines to compare the actual HTTP messages that are transfered. cheers, Roland Ben Wong [EMAIL PROTECTED] 17.02.2004 11:10 Please respond to Commons HttpClient Project To: 'Commons HttpClient Project' [EMAIL PROTECTED] cc

RE: GetMethod Performance

2004-02-17 Thread Ben Wong
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 Performance Oleg

RE: GetMethod Performance

2004-02-16 Thread Ben Wong
(false); http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/ httpclient/HttpMethodBase.html#setHttp11(boolean) See if any these options makes any difference Oleg -Original Message- From: Ben Wong [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 06:41

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 +23

GetMethod Performance

2004-02-15 Thread Ben Wong
Hi, I have noticed significant performance difference between using HttpClient and Socket. I tried to use GetMethod to download a 2MB file from a Webserver sitting in the LAN. When I do it with HttpClient, it takes around 13-15 seconds while it will only take less than half a second with Socket.