micronaut-core icon indicating copy to clipboard operation
micronaut-core copied to clipboard

Add "functional" benchmark

Open melix opened this issue 1 year ago • 4 comments

This commit introduces a new test project which is a JMH benchmark testing an application. It makes use of the Micronaut Gradle plugins (that is to say builds an application in a similar way as for a user application) and applies the AOT plugin.

There are 2 JMH jars being created. The standard JMH jar is using the regular application classpath. Another jar is created with the optimized jar.

To run the benchmark with the AOT optimized application, run:

./gradlew :test-suite-benchmarks:optimizedJmhJar

Then:

./test-suite-benchmarks/build/libs/test-suite-benchmarks-jmh-all-<version>.jar

melix avatar Sep 22 '23 08:09 melix

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

sonarqubecloud[bot] avatar Sep 22 '23 09:09 sonarqubecloud[bot]

will not this create a cycle between core and the modules?

sdelamo avatar Sep 23 '23 05:09 sdelamo

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 07 '24 21:02 CLAassistant

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: melix
:x: yawkat
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Feb 07 '24 21:02 CLAassistant