tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43742] New: - .tag compiles performed one at a time -- extremely slow
Date Wed, 31 Oct 2007 04:18:28 GMT
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


Mime
View raw message