ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laura Dean <lgd...@cyrusinnovation.com>
Subject Re: junit tests running slower in 1.8 than in 1.7
Date Thu, 19 Aug 2010 15:10:48 GMT
On Thu, Aug 19, 2010 at 8:54 AM, Stefan Bodewig <bodewig@apache.org> wrote:
> 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.

Thank you very much!  We'll definitely try it out.

> 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.

That fits our experience exactly.  Our unit tests slowed down
dramatically, but our integration tests didn't.  I wish I had noticed
that difference at the time, but I was so focused on the unit-test
slowdown that I didn't really think about it.  (If anything, I
attributed the difference to the fact that we have so many *more* unit
tests.)

Laura

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


Mime
View raw message