Spellchecker: performance test, reduce number of typos to prevent PCE

This commit is contained in:
Olga Strizhenko
2018-04-11 15:45:08 +03:00
parent afda2f358b
commit d27abe28a2
@@ -44,7 +44,7 @@ public class SpellcheckerPerformanceTest extends SpellcheckerInspectionTestCase
}
public void testLargeTextFileWithManyTypos() {
final int typoCount = 50000;
final int typoCount = 40000;
@SuppressWarnings("SpellCheckingInspection") String text = StringUtil.repeat("aaaaaaaaa ", typoCount); // about 0.5M
long start = System.currentTimeMillis();