myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Schoepf (JIRA)" <>
Subject [jira] Created: (MYFACES-2156) Performance improvement in HtmlRenderKitImpl
Date Thu, 26 Feb 2009 18:13:01 GMT
Performance improvement in HtmlRenderKitImpl

                 Key: MYFACES-2156
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 1.1.6
            Reporter: Philipp Schoepf
            Priority: Minor

we did some profiling in our project and found out that HtmlRenderKitImpl creates some amount
of transient object garbage when getRenderer is called:

Self   8005   0,00   7,92           0     2894448   
   Child  24015   0,00   4,69           0     1714064   

The above values were recorded with just 2 request to a page with many components - 2.8MB
of transient objects were created by 8005 calls to getRenderer.
I assume that this is due to the "keying" currenlty implemented which always creates a concatinated
string. I guess using a Map<String, Map<String, Renderer>> doubleMap could improve
the performance here since string creation for keying would not be nessary.

Might also touch 1.2 and 2.0.

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

View raw message