Skip to content

Commit 15e2776

Browse files
committed
adjust benchmarks
1 parent 1e16f58 commit 15e2776

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/OverflowBenchmarkConcurrent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@
6969
* @author Håvard Ottestad
7070
*/
7171
@State(Scope.Benchmark)
72-
@Warmup(iterations = 0)
72+
@Warmup(iterations = 5)
7373
@BenchmarkMode({ Mode.AverageTime })
7474
@Fork(value = 1, jvmArgs = { "-Xms1G", "-Xmx1G", "-XX:+UseParallelGC" })
75-
@Measurement(iterations = 10, batchSize = 1, time = 1, timeUnit = TimeUnit.MILLISECONDS)
75+
@Measurement(iterations = 5, batchSize = 1, time = 1, timeUnit = TimeUnit.MILLISECONDS)
7676
@OutputTimeUnit(TimeUnit.MILLISECONDS)
7777
public class OverflowBenchmarkConcurrent {
7878

core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/OverflowBenchmarkReal.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
* Benchmarks transaction isolation and overflow performance with real data.
4545
*/
4646
@State(Scope.Benchmark)
47-
@Warmup(iterations = 0)
47+
@Warmup(iterations = 5)
4848
@BenchmarkMode({ Mode.AverageTime })
4949
@Fork(value = 1, jvmArgs = { "-Xms500M", "-Xmx500M", "-XX:+UseParallelGC" })
50-
@Measurement(iterations = 10, batchSize = 1, time = 1, timeUnit = TimeUnit.MILLISECONDS)
50+
@Measurement(iterations = 5, batchSize = 1, time = 1, timeUnit = TimeUnit.MILLISECONDS)
5151
@OutputTimeUnit(TimeUnit.MILLISECONDS)
5252
public class OverflowBenchmarkReal {
5353

core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/OverflowBenchmarkSynthetic.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
* Benchmarks transaction isolation and overflow performance with synthetic data.
5151
*/
5252
@State(Scope.Benchmark)
53-
@Warmup(iterations = 0)
53+
@Warmup(iterations = 5)
5454
@BenchmarkMode({ Mode.AverageTime })
5555
@Fork(value = 1, jvmArgs = { "-Xms64M", "-Xmx64M", "-XX:+UseG1GC" })
56-
@Measurement(iterations = 10, batchSize = 1, time = 1, timeUnit = TimeUnit.MILLISECONDS)
56+
@Measurement(iterations = 5, batchSize = 1, time = 1, timeUnit = TimeUnit.MILLISECONDS)
5757
@OutputTimeUnit(TimeUnit.MILLISECONDS)
5858
public class OverflowBenchmarkSynthetic {
5959

0 commit comments

Comments
 (0)