mirror of https://github.com/apache/lucene.git
[hunspell] fix TestPerformance measurement after millis->nanos conversion
This commit is contained in:
parent
4c434b7089
commit
ab50fe640b
|
@ -259,7 +259,7 @@ public class TestPerformance extends LuceneTestCase {
|
|||
for (int i = 0; i < 7; i++) {
|
||||
long start = System.nanoTime();
|
||||
iteration.run(consumer);
|
||||
times.add(System.nanoTime() - start / 100_000);
|
||||
times.add((System.nanoTime() - start) / 1_000_000);
|
||||
}
|
||||
System.out.println(
|
||||
what
|
||||
|
|
Loading…
Reference in New Issue