Skip to content

Commit

Permalink
improve profiling helper project #1685
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Jul 20, 2021
1 parent 280a432 commit 3c65431
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/profiling-test/src/test/java/perf/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ public void pause(Number millis) {
}

};
Runner.Builder builder = Runner.builder();
while (true) {
count++;
Runner.callAsync(Runner.builder(), "classpath:perf/test.feature", null, hook);
Runner.callAsync(builder, "classpath:perf/test.feature", null, hook);
System.out.print(count + " ");
if (count % 100 == 0) {
System.out.println("");
Expand Down

0 comments on commit 3c65431

Please sign in to comment.