[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