On 12/15/2010 12:15 PM, Antoine Levy-Lambert wrote:
On 12/14/2010 12:30 PM, Michael Sunde wrote:
Hi,

I recently tested upgrading my build from ant 1.7.1 to ant 1.8.2alpha (1.8.1 broke build) and the build times doubled (2hrs vs 1hr). Has anyone else noticed this?
https://issues.apache.org/bugzilla/show_bug.cgi?id=50229

Since StreamPumper is used extensively within ant, any chance this can be addressed?

This should be addressed.

I am not sure which change in PumpStreamHandler or elsewhere is making the exec task run slower on Windows in ant 1.8.x compared to 1.7.x

One change [1] to fix a Pipe Broken exception which was happening on Ubuntu (bug rep 48789). [2] could have something to do with it.

I will try to run a performance test (I wonder whether we have one in the codebase using attrib ?) on Windows with the current implementatin of PumpStreamHandler#stop and with the old one to see if it makes any difference.
A quick test tells me that the test done in revision 917817 is not the culprit. Will try the suggestion that you put in the bug report Michael.
Michael


[1] http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java?r1=915992&r2=917817&diff_format=h
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=48789

Regards,

Antoine



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to