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 (JIRA)" <de...@myfaces.apache.org> on 2012/10/16 20:27:03 UTC
[jira] [Created] (MYFACES-3628) [perf] do not calculate facelets
view mappings and context suffixes if not necessary
Leonardo Uribe created MYFACES-3628:
---------------------------------------
Summary: [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
Priority: Minor
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
[jira] [Resolved] (MYFACES-3628) [perf] do not calculate facelets
view mappings and context suffixes if not necessary
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ 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