Commit 4cfcdc4
committed
Increase nominal ccache cache size for coverage CI job
Speeding up builds for coverage reporting is desirable for two reasons:
1. Coverage-checking builds are approximately twice as slow compared to
release builds, even in absence of any ccache-supported caching on
either side.
2. Test runs with coverage logging and coverage collection take
approximately 46 minutes when regular test runs just take 17 minutes on
a similar platform.
Therefore, effective caching during builds has the potential to
considerably speed up the overall job. Caching using ccache, however,
was not effective, because ccache cleanups kicked in:cached artifacts
were being removed while the build was still in progress. The resulting
cache archive, therefore, was necessarily incomplete. ccache initiates a
cleanup when a subdirectory reaches max_size / 16. Increasing max_size
from 4 GB to 7 GB (empirically devised value) avoids such automatic
cleanup during builds while still keeping the overall cache size well
below 5 GB.1 parent 556029c commit 4cfcdc4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
| 806 | + | |
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| |||
0 commit comments