Skip to content

Enable parallel configuration caching#1487

Merged
liblit merged 1 commit intowala:masterfrom
liblit:enable-parallel-configuration-caching
Mar 17, 2025
Merged

Enable parallel configuration caching#1487
liblit merged 1 commit intowala:masterfrom
liblit:enable-parallel-configuration-caching

Conversation

@liblit
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown

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