[
https://issues.apache.org/jira/browse/MYFACES-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-3628.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.10
2.0.16
Assignee: Leonardo Uribe
> [perf] do not calculate facelets view mappings and context suffixes if not
> necessary
> ------------------------------------------------------------------------------------
>
> Key: MYFACES-3628
> URL: https://issues.apache.org/jira/browse/MYFACES-3628
> Project: MyFaces Core
> Issue Type: Improvement
> Components: JSR-314
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Priority: Minor
> Fix For: 2.0.16, 2.1.10
>
>
> Doing some perf tests, I notice some methods in DefaultViewHandlerSupport and
> DefaultRestoreViewSupport are called multiple times, but always return the
> same value over and over, because they are based on initialization params,
> which does not change over application lifetime.
> The solution is do some small changes over these two classes, passing
> FacesContext as constructor and calculating those values only the first time
> those classes are created.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira