You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2007/07/24 23:16:31 UTC

[jira] Resolved: (TRINIDAD-122) Improve startup performance by loading renderers lazily

     [ https://issues.apache.org/jira/browse/TRINIDAD-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer resolved TRINIDAD-122.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2-core
                   1.0.2-plugins

Added plugin support, and changed CoreRenderKit to use it.

> 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
>             Fix For: 1.0.2-plugins, 1.0.2-core
>
>
> 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.