DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30388>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30388 Performance Increase by setting the initial ByteArrayOS length ------- Additional Comments From [EMAIL PROTECTED] 2004-08-10 22:59 ------- It sounds like a combination of inefficient memory allocation and a large number of threads. I think some kind of optimization in getResponseBody() is warranted, but exactly what I'm not sure yet. My suggestion would be to wait until we have a better way to benchmark HttpClient, and then do some "real world" testing to see what's best. For the time being I think getResponseBodyAsStream() is the solution. Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]