hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30388] - Performance Increase by setting the initial ByteArrayOS length
Date Tue, 10 Aug 2004 17:12:44 GMT
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 ghexsel@uol.com.br  2004-08-10 17:12 -------
I have a complete template system that browses and parses webpages using
multi-line regex'es.  The test page was about 6-10K, on a local server with
little delay.  The measure was on the number of pages I could process in the
whole system with a limit on memory (256MB).  I can't send you the complete code
(my boss would hang me), but what I can say is that before that method was one
of the main bottlenecks, now it's the regular expression code.  The system being
tested is massively parallel, limited only by the number of threads on the
MultiThreadedHttpConnectionManager and on my executor (I'm using Doug Lea's
excelent concurrent library to manage works).  My settings were 500-1000
concurrent conns to that website.  Anything else?

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message