I understand it, but it's reasonable to pay 20% CPU more (on code executed on JSP side - not overall code). Here the difference is *5.
It appears to me a bit more than originally intended, don't you think ? I'm new on tag files, so perhaps as you said it's just a feature for quick prototyping or for tags seldom in the application used (but in this case it's rather weird). ----- Mail original ----- De : Remy Maucherat <remy.mauche...@gmail.com> À : Tomcat Users List <users@tomcat.apache.org> Cc : Envoyé le : Mercredi 7 Septembre 2011 16h57 Objet : Re: Performance issue in simpleTags and tagfiles On Wed, Sep 7, 2011 at 2:23 PM, Adrian Gonzalez <adr_gonza...@yahoo.fr> wrote: > Hello, > > I've noticed a performance difference between classic Tags and simple Tags in > Tomcat 7.0.21 (also tested it on 7.0.6 with the same results). > > Simple tags or tagfiles execution is at 5 times superior to classic tag > execution. Simple tags (and derivatives) are easier to write, but are not poolable. So regular tags are best if you're going to use them a lot. Rémy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org