[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1978) Minimize the performance cost of calling getter in JBoss EL

Mikhail Grushinskiy (JIRA) jira-events at lists.jboss.org
Thu Sep 27 21:08:40 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1978?page=comments#action_12379230 ] 
            
Mikhail Grushinskiy commented on JBSEAM-1978:
---------------------------------------------

To avoid repetitive constructing 'getProperty' out of 'property' (even that adds up to cost of call) you would need to hash FastMethod by
property name and class. 

You could avoid number of if statements when you have some code specifically optimized for getters (Just trace the current code flow for method invocation, some of the steps are not needed for getters)
 




> Minimize the performance cost of calling getter in JBoss EL
> -----------------------------------------------------------
>
>                 Key: JBSEAM-1978
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1978
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: EL
>            Reporter: Mikhail Grushinskiy
>
> Minimize the performance cost of calling getter in JBoss EL
> bean.property is the most common EL construct used in all JSF applications.
> The cost of calling property getter in EL is more important to overall JSF application performance (specifically rendering phase)
> See also
> http://jira.jboss.com/jira/browse/JBSEAM-1977

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list