myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3144) [PERF] Cache renderer in UIComponentBase
Date Fri, 13 May 2011 19:13:47 GMT
[PERF] Cache renderer in UIComponentBase
----------------------------------------

                 Key: MYFACES-3144
                 URL: https://issues.apache.org/jira/browse/MYFACES-3144
             Project: MyFaces Core
          Issue Type: New Feature
          Components: General
    Affects Versions: 2.1.0-SNAPSHOT
         Environment: myfaces core trunk
            Reporter: Martin Kočí
            Assignee: Martin Kočí


UIComponentBase uses getRenderer(): Renderer in five methods:
1) decode
2) encodeBegin
3) encodeChildren
4) encodeEnd
50 getClientId

getting the renderer is not cheap if you have thousands component in view. 

Cache renderer instance in UIComponentBase (Trinidad UIXComponentBase does it already)



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

Mime
View raw message