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
much 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: "'Common
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
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
setHttp11(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 0
the network.
cheers,
Roland
"Ben Wong" <[EMAIL PROTECTED]>
16.02.2004 06:40
Please respond to "Commons HttpClient Project"
To: <[EMAIL PROTECTED]>
cc:
Subject:GetMethod Performance
Hi,
I have noticed significant
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.