Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 99815 invoked from network); 9 Apr 2010 09:50:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 09:50:20 -0000 Received: (qmail 45473 invoked by uid 500); 9 Apr 2010 09:50:20 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 45245 invoked by uid 500); 9 Apr 2010 09:50:18 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 45232 invoked by uid 99); 9 Apr 2010 09:50:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 09:50:17 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.176] (HELO mail-gy0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 09:50:09 +0000 Received: by gyf1 with SMTP id 1so1617771gyf.35 for ; Fri, 09 Apr 2010 02:49:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.137.5 with HTTP; Fri, 9 Apr 2010 02:49:47 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Apr 2010 05:49:47 -0400 Received: by 10.150.119.30 with SMTP id r30mr13296ybc.5.1270806587931; Fri, 09 Apr 2010 02:49:47 -0700 (PDT) Message-ID: Subject: Re: TestCodecs running time From: Michael McCandless To: java-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org It's also slow because it repeats all the tests for each of the core codecs (standard, sep, pulsing, intblock). I think it's fine to reduce the number of iterations -- just make sure there's no seed to newRandom() so the distributing testing is "effective". Mike On Fri, Apr 9, 2010 at 12:43 AM, Shai Erera wrote: > Hi > > I've noticed that TestCodecs takes an insanely long time to run on my > machine - between 35-40 seconds. Is that expected? > The reason why it runs so long, seems to be that its threads make (each) > 4000 iterations ... is that really required to ensure correctness? > > Shai > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org