Improve startup performance by loading renderers lazily
-------------------------------------------------------
Key: TRINIDAD-122
URL: https://issues.apache.org/jira/browse/TRINIDAD-122
Project: MyFaces Trinidad
Issue Type: Improvement
Affects Versions: 1.0.1-core
Reporter: Adam Winer
Assignee: Adam Winer
Currently, startup spends a lot of time instantiating each and every renderer
class - sometimes
as much as two seconds just for Trinidad. This could be significantly
optimized by loading
the Renderers lazily as they're requested. This entails updating the plugins
to support:
- Removing <renderer> elements from faces-config.xml
- Creating an alternative map of (component-family,renderer-type)->renderer
class name
and updating the runtime code to read from this.
RenderKitBase already supports lazy loading, we just aren't registering
anything that way.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.