ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54128] Ant 1.8 exec task changes have slowed exec to a crawl
Date Mon, 13 Jan 2014 09:48:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54128

--- Comment #19 from paltzern@hdpgmbh.de ---
Thank you for looking into this again.

I can confirm the results of your test.

I modified it to the following:

<project name="doit" >
  <echo>ant.version=${ant.version}</echo>

  <exec executable="cmd" dir="c:\">
    <arg value="/c" />
    <arg value="test.bat" />
  </exec>
</project>

test.bat just produces a lot of output (10'000 lines with 1'000 chars each) and
containts the following:
@for /L %%i IN (1 1 10000) do @echo
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
 90



The results:

     [echo] ant.version=Apache Ant version 1.7.1 compiled on June 27 2008
[...]
BUILD SUCCESSFUL
Total time: 1 second


     [echo] ant.version=Apache Ant(TM) version 1.9.2 compiled on July 8 2013
[...]
BUILD SUCCESSFUL
Total time: 38 seconds


     [echo] ant.version=Apache Ant(TM) version 1.9.3 compiled on December 23
2013
[...]
BUILD SUCCESSFUL
Total time: 37 seconds


Here, the performance fo 1.9.2 and 1.9.3 are the same and 1.7.1 is much faster!

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

Mime
View raw message