On 07/09/2011 15:57, Remy Maucherat wrote: > 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.
+1 A look with a profiler shows that a fair amount of time is spend in the InstanceManager with the non-poolable tags. We could probably speed that up with some caching. I'll take a look to see if the benefit is worth the complexity. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org