Geoff, Thanks for the help! I see about a second and a half performance boost (10.29s to 8.87s) on startup. The longest to respond is a sitemap with various XSP's and a fop2pdf generator (12.35 sec). I have two more issue though in light of your tips:
<questions> 1) Should I "declare" the components only in the sitemap that uses them or is the performance the same when they are "declared" in the base sitemap (not "declared" in sub-sitemap)? 2) Are JSP/XSP sources compiled everytime the server is restarted? If so, will getting my hands on the class generated and "generating" it otherwise improve the performace? </questions> Regarding components: I am not sure which I use and which I do not. I use Cocoon for the basics and will have to do some reading. Thanks a million, Julian --- Geoff Howard <[EMAIL PROTECTED]> wrote: > Reinhard P�tz wrote: > > > >>-----Original Message----- > >>From: Julian [mailto:[EMAIL PROTECTED] > >>Sent: Tuesday, August 05, 2003 4:20 PM > >>To: cocoon > >>Subject: Confused About Perfomance Issues > >> > >> > >>Hi, > >> > >>I have looked into this a few times, but am not > >>"getting it". > >> > >><question> > >>How can I configure/build Cocoon to > >>pre-load/pre-compile sitemaps before or during > server > >>startup? > >></question> > > > > > > In 2.1 (latest CVS) the interpreted sitemap is > used - no compilation is > > necessary. > > > > > >><scenario> > >>Every time my server is restarted Cocoon takes > about > >>8-10 secs. to respond to requests to a given > sitemap. > >>I believe this is sitemap compilation. I have a > few > >>sitemaps so this causes some serious lag time, > albeit > >>on first request...afterwards all responds > quickly. > >> > >>jre 1.4.1, Cocoon CVS version, Tomcat 4.1.12 > >></scenario> > > > > > > It's not only the sitemap - Cocoon initialized > many components and this > > needs some time at startup. It also takes some > time to compile XSP pages > > (in the case you use them). > > And this time can be reduced by eliminating all > unused components. > First, start by building without unused blocks. > Second, edit your > sitemaps to remove any unused sitemap components > (e.g., Generators > you'll never use). If things are still not > noticeably better, examine > cocoon.xconf and cocoon.roles for components you > expect to never need. > This last step is a little more advanced. > > If there are any questions about what a component > is/does ask here or on > the dev list. > > Geoff > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
