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 #9898

Closed
wants to merge 1 commit into from

Conversation

melix
Copy link
Contributor

@melix melix commented Sep 20, 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

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 melix requested a review from yawkat September 20, 2023 07:39
@melix melix self-assigned this Sep 20, 2023
@melix
Copy link
Contributor Author

melix commented Sep 22, 2023

Closed in favor of #9908 9908

@melix melix closed this Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant