ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: junit tests running slower in 1.8 than in 1.7
Date Mon, 09 Aug 2010 04:25:03 GMT
On 2010-08-08, Michael Ludwig wrote:

> Stefan Bodewig schrieb am 08.08.2010 um 22:12 (+0200):

>> Finally I found the reason - the enhancement that is Bugzilla Issue
>> 31885.  Ant writes output synchronously in order to support advanced
>> test UIs.

> https://issues.apache.org/bugzilla/show_bug.cgi?id=31885

> Great you found the cause! I might be wrong, but I think this kind
> of IO is simply referred to as "unbuffered IO", whereas "blocking",
> "non-blocking" and "asynchronous IO" would involve device readiness.

Neither term is what I meant (and yes, I am aware of the differences, my
language was just sloppy 8-).

Ant's test runner buffers all output of all tests and flushes it to the
test formatters once a testsuite finishes (I'm glossing over a few
details here), the "testevents" are sent to System.out immediately
rather than being buffered up - that's what I refered to as
synchronously since output is synchronous to the tests rather than
delayed.

Stefan

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


Mime
View raw message