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 parallel configuration caching #1487

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

liblit
Copy link
Contributor

@liblit liblit commented Mar 16, 2025

According to Gradle's
documentation
, "Configuration cache storing and loading are done sequentially by default. Parallel storing and loading provide better performance, however not all builds are compatible with it." Our build appears to be compatible, so let's turn this feature on.

That being said, I haven't actually noticed a significant change in build times. This feature may affect WALA more in theory than in practice.

According to [Gradle's
documentation](https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:usage:parallel),
"Configuration cache storing and loading are done sequentially by
default. Parallel storing and loading provide better performance,
however not all builds are compatible with it."  Our build appears to be
compatible, so let's turn this feature on.

That being said, I haven't actually noticed a significant change in
build times.  This feature may affect WALA more in theory than in
practice.
@liblit liblit added the gradle WALA’s Gradle build system label Mar 16, 2025
@liblit liblit requested a review from msridhar March 16, 2025 22:47
@liblit liblit self-assigned this Mar 16, 2025
Copy link

Test Results

  827 files  ±0    827 suites  ±0   4h 51m 29s ⏱️ ±0s
  765 tests ±0    748 ✅ ±0   17 💤 ±0  0 ❌ ±0 
5 239 runs  ±0  5 118 ✅ ±0  121 💤 ±0  0 ❌ ±0 

Results for commit 650dea2. ± Comparison against base commit 90350c7.

@liblit liblit merged commit f692978 into wala:master Mar 17, 2025
11 checks passed
@liblit liblit deleted the enable-parallel-configuration-caching branch March 17, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gradle WALA’s Gradle build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants