Permalink
Browse files

Add results

  • Loading branch information...
1 parent fba33f3 commit 7ee4e49632e1445314be1e3237c3e28abe0d98e7 @peter-lawrey committed Nov 30, 2012
@@ -28,7 +28,7 @@ public void testOops() throws IOException {
long start = System.nanoTime();
OopTable table = new OopTable(TMP);
new File(TMP, "data").deleteOnExit();
- DataGenerator.generateDataFor(table, 250 * 1000 * 1000);
+ DataGenerator.generateDataFor(table, 100 * 1000 * 1000);
table.close();
long time = System.nanoTime() - start;
System.out.printf("OOPS: Took %.3f seconds to generate and save %,d entries%n", time / 1e9, table.size());
@@ -50,7 +50,7 @@ public void testMmap() throws IOException {
{
long start = System.nanoTime();
MmapTable table = new MmapTable(dir);
- DataGenerator.generateDataFor(table, 250 * 1000 * 1000);
+ DataGenerator.generateDataFor(table, 100 * 1000 * 1000);
table.close();
long time = System.nanoTime() - start;
System.out.printf("MMAP: Took %.3f seconds to generate and save %,d entries%n", time / 1e9, table.size());
@@ -22,6 +22,8 @@ OOPS: Took 95.796 seconds calculate the mid BP, plus a GC and save 100,000,000 e
OOPS: Took 340.588 seconds to generate and save 250,000,000 entries
OOPS: Took 224.854 seconds calculate the mid BP, plus a GC and save 250,000,000 entries
+OOPS: Took 234.013 seconds calculate the mid BP, plus a GC and save 250,000,000 entries
+OOPS: Took 219.476 seconds calculate the mid BP, plus a GC and save 250,000,000 entries
Using memory mapped files to store the data with the same abstractions.

0 comments on commit 7ee4e49

Please sign in to comment.