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 (Created) (JIRA)" <de...@myfaces.apache.org> on 2012/03/08 18:43:59 UTC

[jira] [Created] (MYFACES-3494) [perf] improvements on DefaultFaceletsStateManagementStrategy

[perf] improvements on DefaultFaceletsStateManagementStrategy
-------------------------------------------------------------

                 Key: MYFACES-3494
                 URL: https://issues.apache.org/jira/browse/MYFACES-3494
             Project: MyFaces Core
          Issue Type: Improvement
          Components: JSR-314
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


There are two possible optimizations for DefaultFaceletsStateManagementStrategy

- When saving the view, do not call getClientId() unless necessary. 
- Check when there are no state to be restored and if that so, skip tree traversal.
- Check when only the viewRoot needs to be restored and if that so, restore root and skip tree traversal.

These changes will improve speed and memory a little bit, since myfaces pss algorithm is highly optimized and has usually zero or almost zero delta. 

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

        

[jira] [Resolved] (MYFACES-3494) [perf] improvements on DefaultFaceletsStateManagementStrategy

Posted by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3494.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.7
                   2.0.13
    
> [perf] improvements on DefaultFaceletsStateManagementStrategy
> -------------------------------------------------------------
>
>                 Key: MYFACES-3494
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3494
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.13, 2.1.7
>
>
> There are two possible optimizations for DefaultFaceletsStateManagementStrategy
> - When saving the view, do not call getClientId() unless necessary. 
> - Check when there are no state to be restored and if that so, skip tree traversal.
> - Check when only the viewRoot needs to be restored and if that so, restore root and skip tree traversal.
> These changes will improve speed and memory a little bit, since myfaces pss algorithm is highly optimized and has usually zero or almost zero delta. 

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