There's a lot of behind the scenes work going on the first time a
page is rendered. Basically Tapestry is creating a kind of
meta-representation of your page, enhancing your page class, and doing all
sorts of behind the scenes grinding. The downside is that, yah, first page
render is slow. The upside is that, since Tapestry pools the pages, it's a
one time hit in production.

        It does, unfortunately, mean that you have to deal with that
annoying pause in development, but it's just one of those things
unfortunately. The usual things will speed it up e.g. faster CPU, more
memory if that's gating, etc, but there's really no silver bullet.

        I suspect there are some behind the scenes optimizations that Howard
will make when he finds them, but I wouldn't count on an order of magnitude
improvement.

        --- Pat

> -----Original Message-----
> From: Alexander Varakin [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 13, 2006 9:40 PM
> To: [email protected]
> Subject: Re: First page display slowdown in v 4.0
> 
> I am talking about first time. I agree that for production this is not an
> issue, but it does slow down development.
> 
> 
> On Saturday 14 January 2006 12:32 am, Gregg Bolinger wrote:
> > Are you talking about the first time you startup your server and visit
> the
> > page or everytime you visit the Home page?  It takes a few sec for mine
> to
> > startup but after the initial loading of everything, it screams.  And
> it's
> > not really something to worry about.
> >
> > Now, if it's happening everytime you visit the home page without
> restarting
> > the server, then you might have a valid problem.
> >
> > Gregg
> >
> > On 1/13/06, Alexander Varakin <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I noticed that in v4.0 displaying first page takes much longer than in
> v
> > > 3.0.3:  15 sec vs 7 sec.
> > > I used the helloworld application for testing.
> > > My environment is:
> > >    JBoss 4.0.2 (also tried Jetty and Tomcat, same result)
> > >    Sun JDK 1.5.06
> > >    Intel Celeron 1.7GHz Laptop
> > >    512 MB RAM
> > >    Debian Linux Unstable (also tried in Windows, same result)
> > >
> > > Is there any way to improve this time?
> > >
> > > Thanks,
> > > Alex
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to