[richfaces-issues] [JBoss JIRA] Commented: (RF-10787) Provide info about SkinPropertiesELResolver and ResourceParameterELResolver (for performance tuning)

Martin Kočí (JIRA) jira-events at lists.jboss.org
Mon Mar 21 16:56:46 EDT 2011


    [ https://issues.jboss.org/browse/RF-10787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589465#comment-12589465 ] 

Martin Kočí commented on RF-10787:
----------------------------------

Here is example why order of resolvers is important, for example for RENDER_RESPONSE phase:

ELResolver: class org.richfaces.skin.SkinPropertiesELResolver
getValue invocations: 64306 getValue hits: 0
getType invocations: 0 getType hits: 0
invoke invocations: 0 invoke hits: 0
isReadOnly invocations: 0 isReadOnly hits: 0
setValue invocations: 0 setValue hits: 0

ELResolver: class org.richfaces.resource.ResourceParameterELResolver
getValue invocations: 64306 getValue hits: 0
getType invocations: 0 getType hits: 0
invoke invocations: 0 invoke hits: 0
isReadOnly invocations: 0 isReadOnly hits: 0
setValue invocations: 0 setValue hits: 0

...

ELResolver: class javax.el.BeanELResolver
getValue invocations: 62192 getValue hits: 40563
getType invocations: 0 getType hits: 0
invoke invocations: 0 invoke hits: 0
isReadOnly invocations: 0 isReadOnly hits: 0
setValue invocations: 0 setValue hits: 0


results taken with https://issues.apache.org/jira/browse/MYFACES-3079

> Provide info about SkinPropertiesELResolver and ResourceParameterELResolver (for performance tuning)
> ----------------------------------------------------------------------------------------------------
>
>                 Key: RF-10787
>                 URL: https://issues.jboss.org/browse/RF-10787
>             Project: RichFaces
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: optimization
>         Environment: richfaces 4.0. branch, myfaces 2.0.5 snapshot
>            Reporter: Martin Kočí
>            Priority: Optional
>
> With MyFaces it is possible to sort ELResolvers: https://cwiki.apache.org/MYFACES/elresolver-ordering.html
> Newly it is also possible to filter them out: http://www.mail-archive.com/dev@myfaces.apache.org/msg52082.html
> Please provide some info about:
> 1. org.richfaces.skin.SkinPropertiesELResolver
> 2. org.richfaces.resource.ResourceParameterELResolver
> especially:
> * purpose of those resolvers
> * in which cases resolver resolves a property
> * at which position in resolvers chain they should be
> * when can be disabled
> Those info can be useful for every user, please put it in a "Performance tuning" section in RF tutorial.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list