HCOLL-360 Add segment tiers

This commit is contained in:
leventov
2015-09-17 20:58:52 +03:00
parent 4606b64a02
commit 2eed65e80e
39 changed files with 1182 additions and 285 deletions
@@ -108,7 +108,7 @@ public class EntryCountMapTest {
System.out.printf(" Score: %.2f%n", scoreCount / score);
}
@Test
@Test(timeout = 1000 * 60)
public void testSmall() throws IOException, ExecutionException, InterruptedException {
System.out.print("testSmall seeds");
int procs = Runtime.getRuntime().availableProcessors();
@@ -18,6 +18,7 @@ package net.openhft.chronicle.set;
import net.openhft.chronicle.hash.ChronicleHash;
import net.openhft.chronicle.hash.ChronicleHashBuilder;
import org.junit.Ignore;
import org.junit.Test;
import java.io.File;
@@ -52,7 +53,7 @@ public class Issue24ChronicleSetTest {
return init(ChronicleSetBuilder.of(entryClass), entrySize, averageKeySize, fileName);
}
@Test
@Test(timeout = 1000 * 60)
public void issue24ChronicleSetTest() {
ChronicleSet<String> set = initSet(String.class, 1_000_000, 30, "stringSet.dat");
ExecutorService executor = Executors.newFixedThreadPool(5);