tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
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 <adr_gonzalez@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message