dweiss commented on code in PR #11856:
URL: https://github.com/apache/lucene/pull/11856#discussion_r996928969
##########
lucene/analysis/common/src/test/org/apache/lucene/analysis/sinks/TestTeeSinkTokenFilter.java:
##########
@@ -199,7 +199,11 @@ public void performance() throws Exception {
}
long finish = System.nanoTime();
System.out.println(
- "ModCount: " + modCounts[j] + " Two fields took " + (finish -
start) / 100_000 + " ms");
+ "ModCount: "
+ + modCounts[j]
+ + " Two fields took "
+ + (finish - start) / 1_000_000
Review Comment:
Maybe we could be less old-fashioned and just use
TimeUnit.seconds(1).toNanos() here and in other places?....
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]