tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Gonzalez <adr_gonza...@yahoo.fr>
Subject Performance issue in simpleTags and tagfiles
Date Wed, 07 Sep 2011 12:23:52 GMT
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.

Classic tag execution is more or less the same than using no tags at all.

This impacts web applications relying heavily on custom tag files (such as Spring ROO generated
applications).
Overall performance with / without tag files is ratio 3 (including JDBC calls, etc...)

I've created a maven project to reproduce the issue.

	* tagfile performance [elapsed = 500 ms].
URL = http://localhost:8080/tagfilesperf/edit-tagfile.jsp
	* classic tag performance [elapsed = 100 ms].
http://localhost:8080/tagfilesperf/edit-classictag.jsp
	* simple tag performance [elapsed = 500 ms].
http://localhost:8080/tagfilesperf/edit-simpletag.jsp
	* notag performance [elapsed = 94 ms].
http://localhost:8080/tagfilesperf/edit-notag.jsp


Project is available in Spring Forum (http://forum.springsource.org/attachment.php?attachmentid=4227&d=1315397882).
I cannot send it with email for the moment (some network restriction policy here - sorry).
More info about this issue is available here http://forum.springsource.org/showthread.php?114210-Roo-tagfiles-performance-issues&p=378862#post378862

Should I create an issue in bugzilla or did I miss something ?

Thanks for the help !
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message