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

Werner Punz resolved MYFACES-2846.
----------------------------------

    Fix Version/s: 2.0.2-SNAPSHOT
       Resolution: Fixed

> jsf.js: performance improvement by eval call and exists call reduction
> ----------------------------------------------------------------------
>
>                 Key: MYFACES-2846
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2846
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 2.0.1
>            Reporter: Werner Punz
>             Fix For: 2.0.2-SNAPSHOT
>
>
> While most of the performance now is spend on send and dom replaceElement 
> without too much possibilities of further improvements on the client side 
> there, we still have speed optimization potential. Currently about 5-8% of 
> the execution time is spent on evaling anonymous functions and within the 
> exists function.
> We probably can reduce both calls to a big degree by eliminating exists in 
> favor of undefined checks where it makes sense (mostly in the module binding 
> part)
> and by trying to reduce generally the calls into anonymous functions (which 
> comes also with the elimination of exists if called outside of _Runtime for 
> instance in _Lang which delegates _Runtime.
> Note there is a 5% speed difference between dev and production due to the 
> _ExtLang object which is only present in dev which is just an AOP wrapper 
> around _Lang which adds the logging functions missing for prod.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to