In addition to using Facelets; http://wiki.apache.org/myfaces/Performance
Cagatay On 1/17/07, Jesse Alexander (KSFD 121) <[EMAIL PROTECTED]> wrote:
My own tests (last year) showed that a huge amount of time is spent in JSP-rendering. Facelets (using a SAX-Compiler) seems to be faster than JSP's... So this would be a first tuning-possibility. regards Alexander -----Original Message----- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 17, 2007 11:40 AM To: MyFaces Discussion Subject: Re: JSF app optimizations Hi, am not sure to read this graph propertly, by it seems that, out of the 62.4% time spent in renderView, 12,4% are spend rendering the Ajax Container (and all it's child components). The Most important part, 50%, are not shown in your diagram. Also, because the renderView will, in the end, call your backing beans to display datas, you should check that the backing beans code are not your slowing part. Last but not least, you did not give background informations on what your app is doing. Are there lenghtly process that should take more CPU than the rendering in your design? (Remind yourself that picking datas to display from bean, is part of the execution of renderView) If most of the job of your app is to display datas, it's quite normal that the renderView take most of the time spend by your application. > Hi all, > > > I have noticed that my application performace is reduced very much by > calling ViewHandler.renderView() method. > > I wonder if there are any optimizations to perform (for Tomcat or my own > app's web.xml) to increase my app performance? > > Please have a look on the attached image with JProfiler's Call Tree and > Hotspots: > > http://www.nabble.com/file/5678/JProfiler_Trace.png > > > Thanks in advance, > > Sergiy > > > > >

