You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/01/15 22:01:39 UTC

[jira] Created: (TAPESTRY-2050) Optimize page construction for repeated construction of the same page

Optimize page construction for repeated construction of the same page
---------------------------------------------------------------------

                 Key: TAPESTRY-2050
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2050
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0.7
            Reporter: Howard M. Lewis Ship
            Priority: Minor


Construction of pages is probably the largest expense for any request, as it involves considerable work to identify what components to instantiate, what bindings to create, and what template tokens to be converted into what ComponentPageElements.

It should be possible to devise a "page template" that is a list of commands for constructing a page.  The current PageLoaderProcessor would generate that list of commands.  Creating a page instance would be a matter of executing the commands.  This would decrease the amount of time needed to generate the 2nd (and later) instances of a page, and would increase the likelyhood that common page elements for literal text could be re-used across page instances.

Making page instance creation less expensive would allow Tapestry to more aggressively cull unused page instances (i.e., shorten the active window) while not sacrificing the ability to handle a request surge.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2050) Optimize page construction for repeated construction of the same page

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAPESTRY-2050:
-------------------------------------------

    Fix Version/s: 5.1

> Optimize page construction for repeated construction of the same page
> ---------------------------------------------------------------------
>
>                 Key: TAPESTRY-2050
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2050
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.7
>            Reporter: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.1
>
>
> Construction of pages is probably the largest expense for any request, as it involves considerable work to identify what components to instantiate, what bindings to create, and what template tokens to be converted into what ComponentPageElements.
> It should be possible to devise a "page template" that is a list of commands for constructing a page.  The current PageLoaderProcessor would generate that list of commands.  Creating a page instance would be a matter of executing the commands.  This would decrease the amount of time needed to generate the 2nd (and later) instances of a page, and would increase the likelyhood that common page elements for literal text could be re-used across page instances.
> Making page instance creation less expensive would allow Tapestry to more aggressively cull unused page instances (i.e., shorten the active window) while not sacrificing the ability to handle a request surge.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAP5-95) Optimize page construction for repeated construction of the same page

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAP5-95:
-------------------------------------

    Issue Type: New Feature  (was: Bug)

> Optimize page construction for repeated construction of the same page
> ---------------------------------------------------------------------
>
>                 Key: TAP5-95
>                 URL: https://issues.apache.org/jira/browse/TAP5-95
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.15
>            Reporter: Howard M. Lewis Ship
>            Priority: Minor
>
> Construction of pages is probably the largest expense for any request, as it involves considerable work to identify what components to instantiate, what bindings to create, and what template tokens to be converted into what ComponentPageElements.
> It should be possible to devise a "page template" that is a list of commands for constructing a page.  The current PageLoaderProcessor would generate that list of commands.  Creating a page instance would be a matter of executing the commands.  This would decrease the amount of time needed to generate the 2nd (and later) instances of a page, and would increase the likelyhood that common page elements for literal text could be re-used across page instances.
> Making page instance creation less expensive would allow Tapestry to more aggressively cull unused page instances (i.e., shorten the active window) while not sacrificing the ability to handle a request surge.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org