bugzilla | 1 Jul 2012 09:20
Picon
Favicon

[Bug 53492] New: Make JspC shell multithreaded

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)

bugzilla | 1 Jul 2012 09:21
Picon
Favicon

[Bug 53492] Make JspC shell multithreaded

https://issues.apache.org/bugzilla/show_bug.cgi?id=53492

Dan Fabulich <dan <at> fabulich.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29016|0                           |1
        is obsolete|                            |

--- Comment #1 from Dan Fabulich <dan <at> fabulich.com> ---
Created attachment 29017
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29017&action=edit
patch

Bugzilla screwed up the mime type; trying again

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
bugzilla | 1 Jul 2012 09:22
Picon
Favicon

[Bug 53492] Make JspC shell multithreaded

https://issues.apache.org/bugzilla/show_bug.cgi?id=53492

--- Comment #2 from Dan Fabulich <dan <at> fabulich.com> ---
I'd love to have this backported to Tomcat 7 as well. The patch should apply
cleanly to the 7.0.x branch.

--

-- 
You are receiving this mail because:
You are the assignee for the bug.

Gmane