mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Spellchecker: performance test, reduce number of typos to prevent PCE
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user