Bug 56487 - Bad performance in Eclipse for large output since version 1.8
Summary: Bad performance in Eclipse for large output since version 1.8
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.8.0
Hardware: PC All
: P2 major (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2014-05-05 07:55 UTC by paltzern
Modified: 2014-07-23 08:11 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description paltzern 2014-05-05 07:55:53 UTC
I observed a huge performance difference between Ant 1.7.1 and the actual 1.9.3 using win7 and Eclipse 4.3.2.

Here is my example test project:

<project name="doit" >

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

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 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890

In this case, the eclipse console speeds things up for 1.7.1!

Here are the times for my doit-example on my machine:

        win console    eclipse console
1.7.1    42 seconds          1 second
1.9.2    43 seconds         38 seconds
1.9.3    43 seconds         37 seconds

And console output in eclipse is not limited!

There is some discussion about this issue in Bug 54128 which led to this new bug.
Comment 1 Hegle Klug 2014-07-22 05:19:31 UTC
Are there any new insights on this one?
Comment 2 paltzern 2014-07-23 08:11:59 UTC
I have no new insights but I'm still interested in a solution.