[
https://issues.apache.org/jira/browse/MYFACES-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-3445.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.6
2.0.12
> [perf] reduce HtmlResponseWriterImpl overhead
> ---------------------------------------------
>
> Key: MYFACES-3445
> URL: https://issues.apache.org/jira/browse/MYFACES-3445
> Project: MyFaces Core
> Issue Type: Improvement
> Components: JSR-314
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 2.0.12, 2.1.6
>
>
> The default ResponseWriter implementation creates and discard too many
> StringBuilder instances. I think we can rearrange the code to prevent create
> those instances and write directly on the stream, or reuse the allocated
> buffers if necessary. Additionally, there is a check for UTF-8 encoding that
> is done over and over, that we can replace storing it into a boolean variable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira