Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 10346 invoked from network); 9 Aug 2010 13:42:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Aug 2010 13:42:59 -0000 Received: (qmail 58178 invoked by uid 500); 9 Aug 2010 13:42:59 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 57833 invoked by uid 500); 9 Aug 2010 13:42:55 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 57824 invoked by uid 99); 9 Aug 2010 13:42:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2010 13:42:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ddevienne@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2010 13:42:47 +0000 Received: by bwz5 with SMTP id 5so1427721bwz.4 for ; Mon, 09 Aug 2010 06:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Vd7GF6Za7O2csSfG46JAqvsre20p9L3Pw64pkWfw9GU=; b=BiZLNhAyY10YZHXYb67NW2EI9JzbYqA6FVI35YxRyplbuioHWcl2t5V66mS4IoUEEA YKcAyC5ftFkGShUGv3M0mYEOIdA5Xl6PboB3CjXCeLMxUCbhRjrc8GWv3ucEYPSfwUjJ IkaW2BdEp9Nzy3dE65687aRz7/TphbNYh4UAA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=vI3yFrFbE1SUB6L8atZbnhJihAQ4IiaWSMXg4Olm4atKoT5y+8BtS3v3YY+KCEc2Pf xevkrJu3eATb+Y/NUxNefCaMObq3jDaEt4ln4o2FfGGrd6/2ExJRwKJxrmsRS1Q1/yxy hgTx99CoyKRE7ZPlAl9zAwnwJDCRVfXyrN/qc= MIME-Version: 1.0 Received: by 10.204.34.2 with SMTP id j2mr10799834bkd.21.1281361347364; Mon, 09 Aug 2010 06:42:27 -0700 (PDT) Received: by 10.204.56.205 with HTTP; Mon, 9 Aug 2010 06:42:27 -0700 (PDT) In-Reply-To: <87vd7ks04x.fsf@v35516.1blu.de> References: <87vd7ks04x.fsf@v35516.1blu.de> Date: Mon, 9 Aug 2010 08:42:27 -0500 Message-ID: Subject: Re: Testlistener Events in JUnit Slows Down Forked Tests in 1.8.x From: Dominique Devienne To: Ant Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Aug 9, 2010 at 2:42 AM, Stefan Bodewig wrote: > The short story is that with the changed StreamPumper code and > useAvailable=3Dtrue forked JUnit tests now take a longer time because the > test time is influenced by the time it takes to send the output for test > events back to Ant. > > For more background . > > Testlistener events have been introduced to support advanced UIs that > show progress bars while running the tests > > > If I disable those events, tests in 1.8.x finish as quickly as they do > in 1.7.1. > > I plan to add an disableTestListenerEvents (any ideas for a different > name?) =A0attribute to that can be used to disable Testlistener > events (that's trivial to implement, all the necessary hooks are already > there), set it to false for backwards compatibility reasons and strongly > recommend to set it true unless you really need them (running inside of > NetBeans) in the manual page as well as WHATSNEW. Makes sense. > We could add a YAMP (yet another magic property) ... Might be useful as well, yes. > Comments? Just a bit thank you? :) --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org