diff --git a/jOOQ-test/src/org/jooq/test/_/testcases/BenchmarkTests.java b/jOOQ-test/src/org/jooq/test/_/testcases/BenchmarkTests.java index f545dde49c..d1057e59e9 100644 --- a/jOOQ-test/src/org/jooq/test/_/testcases/BenchmarkTests.java +++ b/jOOQ-test/src/org/jooq/test/_/testcases/BenchmarkTests.java @@ -79,6 +79,7 @@ public class BenchmarkTests< T785 extends TableRecord> extends BaseTest { + private static final int REPETITIONS_NEW_RECORD = 1000000; private static final int REPETITIONS_RECORD_INTO = 2000; private static final int REPETITIONS_FIELD_ACCESS = 1000000; private static final int REPETITIONS_SELECT = 100; @@ -88,6 +89,15 @@ extends BaseTest books = create().fetch(TBook()); diff --git a/jOOQ-test/src/org/jooq/test/jOOQAbstractTest.java b/jOOQ-test/src/org/jooq/test/jOOQAbstractTest.java index b579e36980..9dcfe5b111 100644 --- a/jOOQ-test/src/org/jooq/test/jOOQAbstractTest.java +++ b/jOOQ-test/src/org/jooq/test/jOOQAbstractTest.java @@ -1974,6 +1974,11 @@ public abstract class jOOQAbstractTest< new LoaderTests(this).testLoader(); } + @Test + public void testBenchmarkNewRecord() throws Exception { + new BenchmarkTests(this).testBenchmarkNewRecord(); + } + @Test public void testBenchmarkRecordInto() throws Exception { new BenchmarkTests(this).testBenchmarkRecordInto();