Hi folks, I have moved some of my projects to open...
# community-support
a
Hi folks, I have moved some of my projects to openjdk 17 from openjdk 8. Both are running gradle version 7.6.2. I noticed that tests are taking more time to execute on openjdk 17. Also, how the test and integrationtest configuration is triggered is different in openjdk 8 and openjdk 17 using gradle 7.6.2. Is there a reason for the duration of the test being affected by openjdk 17 runtime than openjdk 8 runtime. How can the test duration be reduced in openjdk 17 runtime? Thanks in Advance!
v
I guess you could use the
gradle-profiler
to gain some insights where the time difference happens. I actually doubt it is on Gradle's side, but who knows. 🙂
👍 1
a
Thanks @Vampire , I will try gradle-proflier. The junit tests are significantly faster on eclipse and intellij when run natively with IDEs instead from gradle configuration in IDEs.
v
Maybe you have additional things when running through Gradle? One example is JaCoCo coverage agent if you apply the
jacoco
plugin, but ususally that shouldn't significantly slow down execution.
❤️ 1
a
Will check the jacoco plugin too. Thanks for your suggestions.