You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (Created) (JIRA)" <de...@myfaces.apache.org> on 2012/01/11 23:22:39 UTC
[jira] [Created] (MYFACES-3445) [perf] reduce
HtmlResponseWriterImpl overhead
[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
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
[jira] [Resolved] (MYFACES-3445) [perf] reduce
HtmlResponseWriterImpl overhead
Posted by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org>.
[ 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