You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/07/11 08:59:01 UTC

DO NOT REPLY [Bug 21491] New: - UTF-8 output is much slower for large chunks of character output

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21491>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21491

UTF-8 output is much slower for large chunks of character output

           Summary: UTF-8 output is much slower for large chunks of
                    character output
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.serialize
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: minchau@ca.ibm.com


WriterToUTF8Buffered is fine up to the internal buffer size, but
slows down by about a factor of 8 when the character array passed to its write
() method is deemed to overflow the internal buffer and the bytes are written 
directly to the OutputStream without buffering.