You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Michael Sunde <ms...@progress.com> on 2010/12/14 18:30:46 UTC

StreamPumper slow down with ant 1.8.2alpha?

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?

Thanks,
Michael

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


Re: StreamPumper slow down with ant 1.8.2alpha?

Posted by Antoine Levy-Lambert <an...@gmx.de>.
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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: StreamPumper slow down with ant 1.8.2alpha?

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hi,


Antoine

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.Thanks,
> 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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org