Skip to content

Commit

Permalink
eclipse-rdf4jGH-3957 update benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad authored and patrickwyler committed Jun 20, 2022
1 parent b834d44 commit 75851db
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
import org.openjdk.jmh.runner.options.OptionsBuilder;

@State(Scope.Benchmark)
@Warmup(iterations = 10)
@Warmup(iterations = 5)
@BenchmarkMode({ Mode.AverageTime })
//@Fork(value = 1, jvmArgs = {"-Xms4G", "-Xmx4G", "-Xmn2G", "-XX:+UseSerialGC", "-XX:+UnlockCommercialFeatures", "-XX:StartFlightRecording=delay=5s,duration=60s,filename=recording.jfr,settings=profile", "-XX:FlightRecorderOptions=samplethreads=true,stackdepth=1024", "-XX:+UnlockDiagnosticVMOptions", "-XX:+DebugNonSafepoints"})
@Fork(value = 1, jvmArgs = { "-Xms4G", "-Xmx4G", "-Xmn2G", "-XX:+UseSerialGC" })
@Measurement(iterations = 40)
//@Fork(value = 1, jvmArgs = {"-Xms4G", "-Xmx4G", "-XX:StartFlightRecording=delay=5s,duration=60s,filename=recording.jfr,settings=profile", "-XX:FlightRecorderOptions=samplethreads=true,stackdepth=1024", "-XX:+UnlockDiagnosticVMOptions", "-XX:+DebugNonSafepoints"})
@Fork(value = 1, jvmArgs = { "-Xms4G", "-Xmx4G" })
@Measurement(iterations = 5)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
public class SPARQLParseBenchmark {

Expand All @@ -45,11 +45,6 @@ public static void main(String[] args) throws RunnerException {
new Runner(opt).run();
}

@Setup(Level.Iteration)
public void setUp() {
System.gc();
}

@Benchmark
public int selectValuesQuery() {

Expand Down

0 comments on commit 75851db

Please sign in to comment.