[richfaces-issues] [JBoss JIRA] Commented: (RF-8425) rich:tooltip performance

Laura Bailey (JIRA) jira-events at lists.jboss.org
Thu Jun 10 00:54:38 EDT 2010


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

Laura Bailey commented on RF-8425:
----------------------------------

Documented as a fixed issue in WFK 1.1 release notes:
            Repeated calls to <methodname>RendererBase.getResource(String resourceURI )</methodname>
            during the constructor of <classname>ToolTipRenderer</classname> had a negative
            effect on application performance because the 
            <methodname>ToolTipRenderer.getRenderer(UIToolTip toolTip)</methodname>
            method did not cache subclasses. Subclasses are now cached, drastically improving
            performance.

> rich:tooltip performance
> ------------------------
>
>                 Key: RF-8425
>                 URL: https://jira.jboss.org/browse/RF-8425
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-output, performance
>    Affects Versions: 3.3.1
>            Reporter: Mark Torres
>            Assignee: Rodney Russ
>             Fix For: 3.3.3.Final, ENT_3.3.1.SP2
>
>         Attachments: ToolTipRenderer.java
>
>
> We have used rich:tooltip in a lot of places within our application. And while profiling, we came to a bottleneck caused by repeated calls to RendererBase.getResource(String resourceURI ) during the constructor of ToolTipRenderer. I think the main issue is the ToolTipRenderer.getRenderer(UIToolTip toolTip) method never caches the subclasses and thus created a lot of HtmlToolTipRendererBlock, HtmlToolTipRenderer objects, and calls to RendererBase.getResource(String resourceURI ). We've overriden the renderer in our environment to use something that caches the subclass and it improved performance a lot.

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

        


More information about the richfaces-issues mailing list