Aklakan commented on issue #2492: URL: https://github.com/apache/jena/issues/2492#issuecomment-2135314816
I didn't see any errors on my setup (see output below). I yet need to test what happens on my machine when I add your change. One issue - though not important right now - is that running the benchmarks with `mvn` (rather than the IDE) takes way too long because there seems to be a ~1 second wait between iterations - even though most iterations only take milliseconds. Right now I just want to be able to run selected jmh benchmarks via junit in eclipse, and for this its just important that the BenchmarkList file is somehow generated. ```bash mvn -v Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /opt/maven/current Java version: 17.0.10, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "6.5.0-35-generic", arch: "amd64", family: "unix" ``` ... jena$ mvn -Dbenchmark.skip=false -Pdev -Drat.skip clean install [INFO] --- maven-surefire-plugin:3.2.5:test (default-test) @ jena-benchmarks-jmh --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.jena.mem.graph.TestGraphFindByMatchAndCount # JMH version: 1.37 # VM version: JDK 17.0.10, OpenJDK 64-Bit Server VM, 17.0.10+7-Ubuntu-122.04.1 # VM invoker: /usr/lib/jvm/java-17-openjdk-amd64/bin/java # VM options: -Xmx12G # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable) # Warmup: 5 iterations, single-shot each # Measurement: 15 iterations, single-shot each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: org.apache.jena.mem.graph.TestGraphFindByMatchAndCount.graphFindSP_ # Parameters: (param0_GraphUri = ../testing/cheeses-0.1.ttl, param1_GraphImplementation = GraphMem (current), param2_sampleSize = 800) # Run progress: NaN% complete, ETA 00:00:00 # Fork: 1 of 1 # Warmup Iteration 1: 0.013 s/op # Warmup Iteration 2: 0.002 s/op ... ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
