Skip to content

Commit 36edc7d

Browse files
hmottestadkenwenzel
authored andcommitted
allow for profiling with JFR and new cpu time support in JDK 25
1 parent a55b490 commit 36edc7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/RecordIteratorBenchmark.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
@Warmup(iterations = 5)
2929
@BenchmarkMode({ Mode.AverageTime })
3030
@Fork(value = 4, jvmArgs = { "-Xms1G", "-Xmx1G" })
31+
//@Fork(value = 1, jvmArgs = {"-Xms1G", "-Xmx1G", "-XX:StartFlightRecording=jdk.CPUTimeSample#enabled=true,filename=profile.jfr,method-profiling=max","-XX:FlightRecorderOptions=stackdepth=1024", "-XX:+UnlockDiagnosticVMOptions", "-XX:+DebugNonSafepoints"})
3132
@Threads(value = 8)
3233
@Measurement(iterations = 10)
3334
@OutputTimeUnit(TimeUnit.MILLISECONDS)

0 commit comments

Comments
 (0)