Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "functional" benchmark #9908

Draft
wants to merge 2 commits into
base: 4.1.x
Choose a base branch
from
Draft

Add "functional" benchmark #9908

wants to merge 2 commits into from

Conversation

melix
Copy link
Contributor

@melix melix commented Sep 22, 2023

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 and others added 2 commits September 20, 2023 09:34
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`
@sonarcloud
Copy link

sonarcloud bot commented Sep 22, 2023

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

@sdelamo
Copy link
Collaborator

sdelamo commented Sep 23, 2023

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

@CLAassistant
Copy link

CLAassistant commented Feb 7, 2024

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

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.

✅ melix
❌ yawkat
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

4 participants