Skip to content

Commit 77b1ade

Browse files
committed
GH-5322 update benchmark to have the same sync threshold as when using the workbench
1 parent 7335bd9 commit 77b1ade

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • core/sail/nativerdf/src/test/java/org/eclipse/rdf4j/sail/nativerdf/benchmark

core/sail/nativerdf/src/test/java/org/eclipse/rdf4j/sail/nativerdf/benchmark/QueryBenchmark.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ public static void main(String[] args) throws RunnerException {
120120
public void beforeClass() throws IOException {
121121
file = Files.newTemporaryFolder();
122122

123-
repository = new SailRepository(new NativeStore(file, "spoc,ospc,psoc"));
123+
NativeStore sail = new NativeStore(file, "spoc,ospc,psoc");
124+
sail.setIterationCacheSyncThreshold(10000);
125+
repository = new SailRepository(sail);
124126

125127
try (SailRepositoryConnection connection = repository.getConnection()) {
126128
connection.begin(IsolationLevels.NONE);

0 commit comments

Comments
 (0)