You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Andy Wang <aw...@ptc.com> on 2010/06/03 23:37:28 UTC

Slowdown in ant task execution in 1.8.1 (specifically chmod) on Unix

Hi all,
Just wondering if anyone has experienced a bug I just opened:
https://issues.apache.org/bugzilla/show_bug.cgi?id=49384

As the bug states, the fix for
https://issues.apache.org/bugzilla/show_bug.cgi?id=48746
adds about 400ms of latency on my system for ant tasks that exec
external processes.

For example, chmoding about 100 files takes 41+ seconds vs taking 1
second before.

Reverting the fix for 48746 seems to resolve the performance issue,
although I'm sure it'll probably reintroduce the problem reported in
that bug (I've never noticed it myself though).

Thanks,
Andy


Re: Slowdown in ant task execution in 1.8.1 (specifically chmod) on Unix

Posted by Andy Wang <aw...@ptc.com>.
Antoine,
Thanks for the update.   I didn't see the change in SVN, which is why I
checked.  Should it be in already or am I reading SVN wrong?
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java?diff_format=h&view=log&pathrev=947339
<http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java?diff_format=h&view=log&pathrev=947339>

Thanks,
Andy


On 06/03/2010 06:16 PM, Antoine Levy-Lambert wrote:
> Hi,
>
> this change - which I did in ant 1.8.1 is reverted in 1.8.2.
>
> Regards,
>
> Antoine
>
> Andy Wang wrote:
>   
>> Hi all,
>> Just wondering if anyone has experienced a bug I just opened:
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=49384
>>
>> As the bug states, the fix for
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=48746
>> adds about 400ms of latency on my system for ant tasks that exec
>> external processes.
>>
>> For example, chmoding about 100 files takes 41+ seconds vs taking 1
>> second before.
>>
>> Reverting the fix for 48746 seems to resolve the performance issue,
>> although I'm sure it'll probably reintroduce the problem reported in
>> that bug (I've never noticed it myself though).
>>
>> Thanks,
>> Andy
>>
>>
>>   
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>   


Re: Slowdown in ant task execution in 1.8.1 (specifically chmod) on Unix

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

this change - which I did in ant 1.8.1 is reverted in 1.8.2.

Regards,

Antoine

Andy Wang wrote:
> Hi all,
> Just wondering if anyone has experienced a bug I just opened:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49384
>
> As the bug states, the fix for
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48746
> adds about 400ms of latency on my system for ant tasks that exec
> external processes.
>
> For example, chmoding about 100 files takes 41+ seconds vs taking 1
> second before.
>
> Reverting the fix for 48746 seems to resolve the performance issue,
> although I'm sure it'll probably reintroduce the problem reported in
> that bug (I've never noticed it myself though).
>
> Thanks,
> Andy
>
>
>   


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