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 2013/09/18 19:24:51 UTC

[jira] [Created] (MYFACES-3777) [perf] minimize FacesContext.getCurrentInstance() in some new points

Leonardo Uribe created MYFACES-3777:
---------------------------------------

             Summary: [perf] minimize FacesContext.getCurrentInstance() in some new points
                 Key: MYFACES-3777
                 URL: https://issues.apache.org/jira/browse/MYFACES-3777
             Project: MyFaces Core
          Issue Type: Improvement
          Components: JSR-344
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


With the introduction of the new JSF 2.2 spec, there are new points where we need FacesContext instance. The idea is just minimize those calls.

When a view is refreshed, many FacesContext.getCurrentInstance() calls are required because setParent() is called. I have found a way to avoid that and improve performance a bit in that part.

--
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