Skip to content

Commit d30ea23

Browse files
committed
Now allows the benchmark to go into profiling mode - 2
1 parent 2ef1b7b commit d30ea23

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/benchmark/ComplexQueryBenchmark.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,12 @@ private static void runAtStartup() {
110110
if (runForMillis <= 0) {
111111
return;
112112
}
113-
long now, then = System.currentTimeMillis();
114113
System.out.printf("Running initial code before starting the benchmark - runForMillis=%d \n", runForMillis);
115114
System.out.print("Get your profiler in order and press enter... \n");
116115
readLine();
117116
System.out.print("Lets go...\n");
117+
118+
long now, then = System.currentTimeMillis();
118119
ComplexQueryBenchmark complexQueryBenchmark = new ComplexQueryBenchmark();
119120
complexQueryBenchmark.setUp();
120121
do {

0 commit comments

Comments
 (0)