You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/10/31 05:18:28 UTC
DO NOT REPLY [Bug 43742] New: - .tag compiles performed one at a time -- extremely slow
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43742>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43742
Summary: .tag compiles performed one at a time -- extremely slow
Product: Tomcat 6
Version: 6.0.9
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P3
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: aberglas@rsa.com
Jasper is *extremely* slow at compiling .tag files packaged in a .jar -- tens
of seconds per JSP.
One cause is that the javac compiles are very slow, despite there being
relatively little java code to compile. (About 60% of total time.) This is
probably because the compiler is being invoked once for each .tag, rather than
just once for all the generated .java files. If they could be batched up and
compiled at the end I suspect there would be a huge improvement.
(All of Tomcat/Jasper takes less time to javac on my machine than running up
one .jsp that includes a lot of .tags.)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 43742] - .tag compiles performed one at a time -- extremely slow
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43742>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43742
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
------- Additional Comments From markt@apache.org 2008-01-07 15:43 -------
I've no doubt this could be better.
The fix for bug43878 may offer some improvements when not using development mode.
Improving this further is likely to require fairly major changes to Jasper so I
am marking this as an enhancement.
If you (or anyone else) feels the urge to scratch this itch then patches (in
diff -u format) are always welcome.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org