tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Performance issue in simpleTags and tagfiles
Date Wed, 07 Sep 2011 17:13:00 GMT
On 07/09/2011 15:57, Remy Maucherat wrote:
> On Wed, Sep 7, 2011 at 2:23 PM, Adrian Gonzalez <> 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.


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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message