Performance tweaks.

This commit is contained in:
Peter Lawrey
2014-10-24 17:23:35 +01:00
parent 9ace610ca5
commit 4588c282b8
@@ -47,7 +47,7 @@ public class EntryCountMapTest {
@Test
public void testSmall() throws Exception {
for (int i = 0; i < 10; i++) {
for (int i = 0; i < 2; i++) {
// regression test.
for (int s : new int[]{1, 2, 4, 8}) {
if (s <= 4)
@@ -69,7 +69,7 @@ public class EntryCountMapTest {
@Test
public void testMedium() throws Exception {
for (int i = 0; i < 3; i++) {
for (int i = 0; i < 1; i++) {
// regression test.
int s = 16;
testEntriesMaxSize(s, 512, 1000, i);