https://issues.apache.org/bugzilla/show_bug.cgi?id=53492
Priority: P2 Bug ID: 53492 Assignee: dev@tomcat.apache.org Summary: Make JspC shell multithreaded Severity: enhancement Classification: Unclassified OS: Mac OS X 10.4 Reporter: d...@fabulich.com Hardware: PC Status: NEW Version: trunk Component: Jasper Product: Tomcat 7 Created attachment 29016 --> https://issues.apache.org/bugzilla/attachment.cgi?id=29016&action=edit patch Jasper works great multi-threaded. Using two threads per core substantially improves throughput on my test machine, reducing the time it takes to build from 9 minutes to 2 minutes. The attached patch adds a new -threadCount command-line argument to JspC, as well as a setThreadCount setter, suitable for use in an Ant task. It accepts a positive integer, or a core factor like "2.0C" which means two threads per core. 2.0C is the default. Note that on my machine it didn't help that much unless JspC was also configured to -compile the classes. I've attached a patch. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org