ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: junit tests running slower in 1.8 than in 1.7
Date Thu, 19 Aug 2010 12:54:45 GMT
On 2010-08-08, Stefan Bodewig wrote:

> I'll suggest to add a configuration option that will allow people to
> disbale those requests on the dev list, but right now I can't do more
> than confirm that forked JUnit tasks are slower with Ant 1.8.[01] than
> with 1.7.1.

The change has been implemented in svn trunk[1] and may become part of
the next Ant release.  Using svn trunk my tests run as fast (or even
faster) as they do using Ant 1.7.1.

To be clear, the change only affects forked tests, is mostly invisible
on anything but Windows and really only affects tests that finish in far
less than 100ms.  If your average test takes several seconds, there
won't be any difference between Ant 1.7.1 and 1.8.1.  Yes, tests run
slower with Ant 1.8.x but generally not a lot.

Ant's own testsuite finishes in a bit more that 15 minutes on my Windows
test system and has been sped up by less than six seconds with the
change - and this difference may very well be due to other influences.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message