From 4588c282b88e6bd52072dcb50a53b27b7d2bea72 Mon Sep 17 00:00:00 2001 From: Peter Lawrey Date: Fri, 24 Oct 2014 17:23:35 +0100 Subject: [PATCH] Performance tweaks. --- .../java/net/openhft/chronicle/map/EntryCountMapTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/net/openhft/chronicle/map/EntryCountMapTest.java b/src/test/java/net/openhft/chronicle/map/EntryCountMapTest.java index e8095922d..11366878f 100644 --- a/src/test/java/net/openhft/chronicle/map/EntryCountMapTest.java +++ b/src/test/java/net/openhft/chronicle/map/EntryCountMapTest.java @@ -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);