Skip to content

Commit 2863a12

Browse files
committed
reduce forks to 2 to make perf tests faster
1 parent 876c9ae commit 2863a12

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/jmh/java/performance/DFSelectionSetPerformance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@State(Scope.Benchmark)
3131
@Warmup(iterations = 2, time = 5)
3232
@Measurement(iterations = 3)
33-
@Fork(3)
33+
@Fork(2)
3434
public class DFSelectionSetPerformance {
3535

3636
@State(Scope.Benchmark)

src/jmh/java/performance/DataLoaderPerformance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
@State(Scope.Benchmark)
3636
@Warmup(iterations = 2, time = 5)
3737
@Measurement(iterations = 3)
38-
@Fork(3)
38+
@Fork(2)
3939
public class DataLoaderPerformance {
4040

4141
static Owner o1 = new Owner("O-1", "Andi", List.of("P-1", "P-2", "P-3"));

src/jmh/java/performance/ENF1Performance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@State(Scope.Benchmark)
2525
@Warmup(iterations = 2, time = 5)
2626
@Measurement(iterations = 3)
27-
@Fork(3)
27+
@Fork(2)
2828
public class ENF1Performance {
2929

3030
@State(Scope.Benchmark)

src/jmh/java/performance/ENF2Performance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@State(Scope.Benchmark)
2424
@Warmup(iterations = 2, time = 5)
2525
@Measurement(iterations = 3)
26-
@Fork(3)
26+
@Fork(2)
2727
public class ENF2Performance {
2828

2929
@State(Scope.Benchmark)

src/jmh/java/performance/ENFExtraLargePerformance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@State(Scope.Benchmark)
2525
@Warmup(iterations = 2, time = 5)
2626
@Measurement(iterations = 3)
27-
@Fork(3)
27+
@Fork(2)
2828
public class ENFExtraLargePerformance {
2929

3030
@State(Scope.Benchmark)

src/jmh/java/performance/OverlappingFieldValidationPerformance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
@State(Scope.Benchmark)
3838
@Warmup(iterations = 2, time = 5)
3939
@Measurement(iterations = 3)
40-
@Fork(3)
40+
@Fork(2)
4141
public class OverlappingFieldValidationPerformance {
4242

4343

0 commit comments

Comments
 (0)