donnerpeter commented on a change in pull request #2459:
URL: https://github.com/apache/lucene-solr/pull/2459#discussion_r589241315
##########
File path:
lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/TestPerformance.java
##########
@@ -57,12 +57,12 @@ public static void resolveCorpora() {
@Test
public void en() throws Exception {
- checkAnalysisPerformance("en", 1_000_000);
+ checkAnalysisPerformance("en", 1_200_000);
}
@Test
public void en_suggest() throws Exception {
- checkSuggestionPerformance("en", 1_200);
+ checkSuggestionPerformance("en", 3_000);
Review comment:
These are the number of words to check in the test so that its duration
is noticeable enough for profiling, but not too long for me to get bored when
running it locally :) The change increases the speed of suggestions, so the
test may now check more words in about the same time.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]