-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Improve build performance of modules #12485
Comments
What's the before time? And yes please if you can submit a PR it'll be great! |
The time before modification is 10 minutes when I used |
A PR is welcomed. And what's the rationale that speeds up the build time? I'm curious that which tool are you using to get the thread usage during building. |
Yes, it's better to enable the dependency check at the root pom level. Only required modules will use the plugin. |
Hi, I'm now using druid. I found that the build time of the project is not very fast when I used
mvn -T 1C install -DskipTests
command to build the project during Github Actions. So I try to speed up the build performance of the project. The goal here is to clean up dependencies between maven modules in the project in order to improve the build performance.Thread usage before cleaning up module dependencies was this:
Using
mvn dependency:analyze
command I managed to have an overview of the unused dependencies of every module. I focused only on the dependencies between modules. The following dependencies can be cleaned up:After clean up, the build time has been reduced by 3min7s when I use parallel build during Github Actions.
Thread usage after cleaning up module dependencies was this:
Could you help me review this issue? I can submit a PR to improve build performance of the project.
Thank you very much for your attention.
Best regards.
The text was updated successfully, but these errors were encountered: