lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: (LUCENE-3994) some nightly tests take hours
Date Tue, 17 Apr 2012 19:53:41 GMT
I haven't looked, but i seriously doubt thats responsible at all.
Thats just an example "crazy" one.

More likely it got SimpleText codec :)

On Tue, Apr 17, 2012 at 3:49 PM, Dawid Weiss
<dawid.weiss@cs.put.poznan.pl> wrote:
>> Like this? :)
>>
>> https://builds.apache.org/job/Lucene-trunk/1896/testReport/org.apache.lucene.index/TestIndexWriterReader/history/
>
> If it's correlated with the commit of RandomizedRunner then I'd check
> if it's not that "asserting" Random instance or random() being
> repeatedly called gazillion times. Like I said -- there is an extra
> cost for these assertions so in tight loops (where there is no
> possibility of Random escaping to another thread, etc.), I'd just
> create a simple Random rnd = new Random(random().nextLong()).
>
> Dawid
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>



-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message