no Jira, change iteration numbers to match v2 to allow reasonable performance quick check.
@@ -233,7 +233,7 @@ public class IndexRepositoryTest extends TestCase {
// warmup and jit
long prev = Long.MAX_VALUE;
- for (int i = 0; i < 10; i++) {
+ for (int i = 0; i < 5; i++) {
cas.getIndexRepository().removeAllIncludingSubtypes(cas.getTypeSystem().getTopType());
long t = timeAdd2Indexes(fsa, false);
if (t < prev) {
@@ -243,7 +243,7 @@ public class IndexRepositoryTest extends TestCase {
}
prev = Long.MAX_VALUE;
- for (int i = 0; i < 10; i++) {
+ for (int i = 0; i < 5; i++) {
cas.getIndexRepository().removeAllIncludingSubtypes(cas.getTypeSystem().getTopType());
long t = timeAdd2Indexes(fsa, true);
if (t < prev) {
@@ -271,7 +271,7 @@ public class IndexRepositoryTest extends TestCase {
// fsa[i].setIntValue(beginFeat, i);
}
- for (int iii = 0; iii < 6 /*10000*/; iii++) { // change to 10000 for iterations
+ for (int iii = 0; iii < 3 /*10000*/; iii++) { // change to 10000 for iterations
cas.getIndexRepository().removeAllIncludingSubtypes(cas.getTypeSystem().getTopType());
