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

Make -Dquickly a bit faster #40966

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Jun 4, 2024

Instantiation the plugins can actually be costly when we have so many artifacts.
For now, I have only applied this trick where it makes a great difference and has a low cost of maintenance.
We could also do it for Surefire.

Per a discussion with @ppalaga.

@gsmet gsmet requested a review from aloubyansky June 4, 2024 16:36
@quarkus-bot quarkus-bot bot added area/arc Issue related to ARC (dependency injection) area/core area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/kubernetes area/maven area/panache area/platform Issues related to definition and interaction with Quarkus Platform area/security area/testing labels Jun 4, 2024
@gsmet gsmet force-pushed the make-quickly-faster branch from 3062c2e to 9dc2082 Compare June 4, 2024 16:58

This comment has been minimized.

@@ -525,6 +525,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
Copy link
Contributor

@ppalaga ppalaga Jun 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a neat trick! I have not realized the phase can be set through a property.

@ppalaga
Copy link
Contributor

ppalaga commented Jun 4, 2024

Yeah, Surefire, Failsafe, impsort, formatter and even quarkus-maven-plugin:build are other good candidates to be handled in the same way.

Instantiation the plugins can actually be costly when we have so many
artifacts.
For now, I have only applied this trick where it makes a great
difference and has a low cost of maintenance.
We could also do it for Surefire.

Per a discussion with @ppalaga.
@gsmet gsmet force-pushed the make-quickly-faster branch from 9dc2082 to 3c88b37 Compare June 5, 2024 08:06
Copy link

quarkus-bot bot commented Jun 5, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 3c88b37.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@gsmet gsmet merged commit 2ed0d0d into quarkusio:main Jun 5, 2024
52 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.12 - main milestone Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) area/core area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/kubernetes area/maven area/panache area/platform Issues related to definition and interaction with Quarkus Platform area/security area/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants