1 Jul 2012 09:20
[Bug 53492] New: Make JspC shell multithreaded
<bugzilla <at> apache.org>
2012-07-01 07:20:32 GMT
2012-07-01 07:20:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53492 Priority: P2 Bug ID: 53492 Assignee: dev <at> tomcat.apache.org Summary: Make JspC shell multithreaded Severity: enhancement Classification: Unclassified OS: Mac OS X 10.4 Reporter: dan <at> 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(Continue reading)
RSS Feed