ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49888] New: slow down in exec task calls
Date Mon, 06 Sep 2010 19:59:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49888

           Summary: slow down in exec task calls
           Product: Ant
           Version: 1.8.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: claude.lavillonniere@actividentity.com


There is a slow down in ant 1.8.1 and 1.8.0 exec task calls.

To reproduce it I writed a target with 50 calls to an exec function

<target name="main">
    <exec executable="java.exe"  >
    <arg value="-version" />
    </exec> 
    <exec executable="java.exe"  >
    <arg value="-version" />
    </exec> 
    .... exec call repeated 50 times 
 </target>

With ant 1.7.1 that function requires 4 s

     [exec] java version "1.6.0_17"
     [exec] Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
     [exec] Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

BUILD SUCCESSFUL
Total time: 4 seconds

With ant 1.8.1 that function requires 24 s

     [exec] java version "1.6.0_17"
     [exec] Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
     [exec] Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

BUILD SUCCESSFUL
Total time: 24 seconds

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message