[ 
https://issues.apache.org/jira/browse/MYFACES-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-3426.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.6
                   2.0.12
    
> [perf] do not call default VariableResolver / PropertyResolver when no custom 
> instance is set
> ---------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3426
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3426
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.12, 2.1.6
>
>
> Doing some performance tests I notice that even if no VariableResolver / 
> PropertyResolver is set, when resolving EL expressions the code goes directly 
> through that path, doing some unnecessary operations or calling some 
> specified ELResolvers more than once.
> To prevent that, we can check if it was installed a custom VariableResolver / 
> PropertyResolver and if it is not found, let the EL chain to continue its 
> route. For example, DefaultPropertyResolver has an extra call to 
> FacesContext.getCurrentInstance() and with this code, we prevent that call.

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

        

Reply via email to