lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: (LUCENE-3994) some nightly tests take hours
Date Tue, 17 Apr 2012 19:49:00 GMT
> 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


Mime
View raw message