arne-bdt commented on issue #2492:
URL: https://github.com/apache/jena/issues/2492#issuecomment-2136970870

   @Aklakan The output of mvn -v on my system is:
   ```
   Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
   Maven home: C:\Program Files\JetBrains\IntelliJ IDEA 
2023.2.4\plugins\maven\lib\maven3
   Java version: 21.0.2, vendor: Eclipse Adoptium, runtime: C:\Program 
Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot
   Default locale: de_DE, platform encoding: UTF-8
   OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
   ```
   
   Usually, I work with IntelliJ IDEA. There, the shaded library 
`jena-benchmarks-shadedJena480` has to be manually added to the classpath to 
make the unit tests work, unlike the Maven build, which works fine without any 
modifications. I have not found another solution:
   
   ![2024-05-29 11_20_42-Project 
Structure](https://github.com/apache/jena/assets/53625519/544edbd4-d36e-4b02-a04a-c08d1096f653)
   
   
   So, I installed Eclipse today and was able to run the unit tests via JUnit 
by manually adding `jena-benchmarks-shadedJena480-5.1.0-SNAPSHOT.jar` to the 
dependencies:
   
   ![2024-05-29 10_41_40-eclipse-workspace - 
jena-benchmarks-jmh_src_test_java_org_apache_jena_jmh_helper](https://github.com/apache/jena/assets/53625519/d90a750e-71da-4399-9cf3-8fd852b2276e)
   
   
   The benchmarks are intentionally disabled because they run for a very long 
time. Even setting `warmupIterations` to zero and `measurementIterations` to 
one in `JMHDefaultOptions`, the tests still run for more than 45 minutes. 
Therefore, I have no idea how to ensure that the JMH benchmarks never become 
defunct again.
   
   To me, the JMH benchmarks in combination with the shaded Jena library remain 
the best way to compare the behavior and speed of the current Jena version with 
older versions.


-- 
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]

Reply via email to