Thanks Christopher. I created bug 48750: https://issues.apache.org/bugzilla/show_bug.cgi?id=48750
The source jsp and the compiled jsps are attached at this bug. There is also a link to the complete demo web app. A major difference between jetty and tomcat is the usage of a AnnotationHelper class for each tag. Michael -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Samstag, 13. Februar 2010 16:28 To: Tomcat Users List Subject: Re: performance problems with Tomcat 6 and JSF 1.2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael, On 2/12/2010 11:11 AM, Michael Heinen wrote: > I noticed serious performance problems with JSF 1.2 and Tomcat which seems to > be caused by Tomcat. > One major performace problem is bug > https://issues.apache.org/bugzilla/show_bug.cgi?id=48600 > Setting metadata-complete="true" in web.xml improved the speed significantly > > But there seems to be still another problem in Tomcat. > I deployed the same apps to Jetty. > Average results of 500 calls of a simple jsf page (jsp) with 1000 h:output > tags: > > JSF 1.1: > Tomcat 6.0.24: 26ms > Jetty 7.0.1: 35ms > > JSF 1.2: > Tomcat 6.0.24: 72ms > Jetty 7.0.1: 41ms > > Any ideas regarding the bad performance of Tomcat with JSF 1.2? > > The simple page does not contain any EL expressions, > just 1000 simple tags: <h:outputText value="1" style="z-index:29202;"/>. You might want to check out the generated .java file to see if there is anything suspicious in there. Can you post both the sample JSP and the generated .java file? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt2xPQACgkQ9CaO5/Lv0PDaOwCgtJ4QWltYOpOv1wjzFcd1/EM4 M98An1IzBmOI38A6MZYrk9wOUE++xfqM =mdSW -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org