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