You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (Created) (JIRA)" <de...@myfaces.apache.org> on 2011/10/14 12:52:12 UTC

[jira] [Created] (MYFACES-3357) jsf.js: readability and performance improvements

jsf.js: readability and performance improvements
------------------------------------------------

                 Key: MYFACES-3357
                 URL: https://issues.apache.org/jira/browse/MYFACES-3357
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 2.1.3, 2.0.9
            Reporter: Werner Punz
            Priority: Minor


We have long package names for every call to the inheritance and singleton, Also we use our logging as extension to lang. Both costs performance, and in case of extends sacrifices readability and filesize.
While I cannot wrap a function around the entire init process, I can temporarily introduce global variables which remap the original long namespace to a short one, and after being done, I can restore the original values again.

The Logging subframework will be moved into its own singleton, it does not make sense to extend anymore given the size of lang. This also improves the performance by 1-2% in development mode.



--
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-3357) jsf.js: readability and performance improvements

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

Werner Punz resolved MYFACES-3357.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4-SNAPSHOT
                   2.0.10-SNAPSHOT
    
> jsf.js: readability and performance improvements
> ------------------------------------------------
>
>                 Key: MYFACES-3357
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3357
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 2.0.9, 2.1.3
>            Reporter: Werner Punz
>            Priority: Minor
>             Fix For: 2.0.10-SNAPSHOT, 2.1.4-SNAPSHOT
>
>
> We have long package names for every call to the inheritance and singleton, Also we use our logging as extension to lang. Both costs performance, and in case of extends sacrifices readability and filesize.
> While I cannot wrap a function around the entire init process, I can temporarily introduce global variables which remap the original long namespace to a short one, and after being done, I can restore the original values again.
> The Logging subframework will be moved into its own singleton, it does not make sense to extend anymore given the size of lang. This also improves the performance by 1-2% in development mode.

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