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)" <ji...@apache.org> on 2008/12/15 20:35:44 UTC

[jira] Created: (TAP5-417) Tapestry 5.0 Performance Improvements

Tapestry 5.0 Performance Improvements
-------------------------------------

                 Key: TAP5-417
                 URL: https://issues.apache.org/jira/browse/TAP5-417
             Project: Tapestry 5
          Issue Type: Improvement
    Affects Versions: 5.0.18
            Reporter: Howard M. Lewis Ship


Make it work. Make it right. Now we're making it fast.

T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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] Commented: (TAP5-417) Tapestry 5.0 Performance Improvements

Posted by "Christian Gorbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657119#action_12657119 ] 

Christian Gorbach commented on TAP5-417:
----------------------------------------

Yes, DOM post-processing is really a powerful concept because it enables separation of concerns in the UI layer (e.g. we use it to add tracking js-snippets without polluting the template markup and - to auto-generate title/meta tags out of the content)

> Tapestry 5.0 Performance Improvements
> -------------------------------------
>
>                 Key: TAP5-417
>                 URL: https://issues.apache.org/jira/browse/TAP5-417
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.18
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> Make it work. Make it right. Now we're making it fast.
> T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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] Commented: (TAP5-417) Tapestry 5.0 Performance Improvements

Posted by "Christian Gorbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656942#action_12656942 ] 

Christian Gorbach commented on TAP5-417:
----------------------------------------

Some thoughts about render performance, my oberservations:
There is a significant difference how Jsp/PHPet al. render pages: the output response can be flushed during the render phase. And because of the intermediate flushing a Jsp page might "feel" faster than a T5 render page - which is served and streamed after the complete dom was constructed and processed.
@see also http://developer.yahoo.com/performance/rules.html - flush the buffer early
I'm not sure if T5 can address early flushing because of different render approaches.






> Tapestry 5.0 Performance Improvements
> -------------------------------------
>
>                 Key: TAP5-417
>                 URL: https://issues.apache.org/jira/browse/TAP5-417
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.18
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> Make it work. Make it right. Now we're making it fast.
> T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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] Commented: (TAP5-417) Tapestry 5.0 Performance Improvements

Posted by "Massimo Lusetti (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656932#action_12656932 ] 

Massimo Lusetti commented on TAP5-417:
--------------------------------------

Would you like to post use case for us to reproduce and provide more numbers?

> Tapestry 5.0 Performance Improvements
> -------------------------------------
>
>                 Key: TAP5-417
>                 URL: https://issues.apache.org/jira/browse/TAP5-417
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.18
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> Make it work. Make it right. Now we're making it fast.
> T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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] Closed: (TAP5-417) Tapestry 5.0 Performance Improvements

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

Howard M. Lewis Ship closed TAP5-417.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.18
                   5.1.0.0

> Tapestry 5.0 Performance Improvements
> -------------------------------------
>
>                 Key: TAP5-417
>                 URL: https://issues.apache.org/jira/browse/TAP5-417
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.18
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.1.0.0, 5.0.18
>
>
> Make it work. Make it right. Now we're making it fast.
> T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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-417) Tapestry 5.0 Performance Improvements

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

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

    Fix Version/s:     (was: 5.0.18)

> Tapestry 5.0 Performance Improvements
> -------------------------------------
>
>                 Key: TAP5-417
>                 URL: https://issues.apache.org/jira/browse/TAP5-417
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.18
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.1.0.0, 5.0.19
>
>
> Make it work. Make it right. Now we're making it fast.
> T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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-417) Tapestry 5.0 Performance Improvements

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

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

    Fix Version/s: 5.0.19

> Tapestry 5.0 Performance Improvements
> -------------------------------------
>
>                 Key: TAP5-417
>                 URL: https://issues.apache.org/jira/browse/TAP5-417
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.18
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.1.0.0, 5.0.19
>
>
> Make it work. Make it right. Now we're making it fast.
> T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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] Commented: (TAP5-417) Tapestry 5.0 Performance Improvements

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

Howard M. Lewis Ship commented on TAP5-417:
-------------------------------------------

I'm working through a number of issues; there is no way we can compete head-to-head on extremely large pages because of the in-memory DOM.  There may be an option to keep more of the DOM virtual until render time, but that may handicap attempts to do more involved post-processing of markup than what Tapestry does ... for example, it would be nice to be able to post-process the DOM to highlight search resutls and if too much of the content is virtual that won't be possible.

Anyway, what I'm working on now is reducing the number of rendering steps by skipping render phases when they are no-ops.

> Tapestry 5.0 Performance Improvements
> -------------------------------------
>
>                 Key: TAP5-417
>                 URL: https://issues.apache.org/jira/browse/TAP5-417
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.18
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> Make it work. Make it right. Now we're making it fast.
> T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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] Assigned: (TAP5-417) Tapestry 5.0 Performance Improvements

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

Howard M. Lewis Ship reassigned TAP5-417:
-----------------------------------------

    Assignee: Howard M. Lewis Ship

> Tapestry 5.0 Performance Improvements
> -------------------------------------
>
>                 Key: TAP5-417
>                 URL: https://issues.apache.org/jira/browse/TAP5-417
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.18
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> Make it work. Make it right. Now we're making it fast.
> T5 is as fast or faster than JSP for trivial pages; for pages that render a lot (i.e., lots of loops) T5 is not keeping up. It may not (it does so  much more) but we need to narrow the gap.

-- 
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