Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Benchmark for 1,000,000 records

  • Loading branch information...
commit 51eab3bf0ded7b700b1a16e5156f4fac11f7baf0 1 parent 83bbaa9
@poetix poetix authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/test/java/com/youdevise/hsd/HSQLDBIntegrationTest.java
View
6 src/test/java/com/youdevise/hsd/HSQLDBIntegrationTest.java
@@ -88,7 +88,7 @@ public boolean handle(EnumIndexedCursor<Fields> cursor) {
assertThat(executeTestQuery(traverser, Fields.class), equalTo(true));
Date after = new Date();
- System.out.println(String.format("Traversed 100000 records in %s milliseconds using reflection", after.getTime() - before.getTime()));
+ System.out.println(String.format("Traversed 1000000 records in %s milliseconds using reflection", after.getTime() - before.getTime()));
}
@Test public void
@@ -100,7 +100,7 @@ public boolean handle(EnumIndexedCursor<Fields> cursor) {
assertThat(executeTestQuery(traverser, Fields.class), equalTo(true));
Date after = new Date();
- System.out.println(String.format("Traversed 100000 records in %s milliseconds using proxy", after.getTime() - before.getTime()));
+ System.out.println(String.format("Traversed 1000000 records in %s milliseconds using proxy", after.getTime() - before.getTime()));
}
@Test public void
@@ -111,7 +111,7 @@ public boolean handle(EnumIndexedCursor<Fields> cursor) {
assertThat(executeTestQuery(new CursorHandlingTraverser<Fields>(handler), Fields.class), equalTo(true));
Date after = new Date();
- System.out.println(String.format("Traversed 100000 records in %s milliseconds using anonymous inner class", after.getTime() - before.getTime()));
+ System.out.println(String.format("Traversed 1000000 records in %s milliseconds using anonymous inner class", after.getTime() - before.getTime()));
}
private CursorHandlingTraverser<Fields> getMethodDispatchingCursorHandler(MethodBasedHandler handler) throws NoSuchMethodException {
Please sign in to comment.
Something went wrong with that request. Please try again.