[ mx4j-Patches-1834912 ] HTTP DefaultProcessor performance patch
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Patches item #1834912, was opened at 2007-11-20 15:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450649&aid=1834912&group_id=47745 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: John Sisson (johnrsisson) Assigned to: Nobody/Anonymous (nobody) Summary: HTTP DefaultProcessor performance patch Initial Comment: The current writeResponse(..) method in the DefaultProcessor class traverses the response document nodes twice and unnecessarily creates a ByteArrayOutputStream and ByteArray when the logger level is not DEBUG. Attached is a patch than can be applied to the mx4j directory under svn trunk that changes the code to only do processing related to debug tracing only if the logger level is set to DEBUG. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450649&aid=1834912&group_id=47745 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/