You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Sergiy <zk...@ukr.net> on 2007/01/17 10:23:57 UTC

JSF app optimizations


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




-- 
View this message in context: http://www.nabble.com/JSF-app-optimizations-tf3026075.html#a8406961
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: JSF app optimizations

Posted by David Delbecq <de...@oma.be>.
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
>
>
>
>
>