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

Enable build caching #1

Open
wants to merge 1 commit into
base: feature/reapplyDevelocity
Choose a base branch
from

Conversation

ribafish
Copy link
Owner

This PR enables build caching, which will improve both local and CI build times. For local builds it enables only the local cache, and for CI builds it enables only the remote cache, as proposed in the Eclipse Develocity documentation.

After running some tests, when cache is enabled, as the average build is 28% quicker for consecutive builds than no Develocity extension -> 2:31 min vs 2:08 min.

This speedup is even more visible when tests are executed (running mvn clean install), as the build is already ~56% quicker, without any further caching optimisations. Without the cache, average build takes 27:45 min (ignoring the ~14sec ones, which are failed) without the cache, while average with the cache takes 14min with the seeding build, with consecutive builds taking on average just 12:18 min.

This PR relates to issue eclipse-ee4j#25322 and includes the changes from PR eclipse-ee4j#25342.

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