Conversation
01d8896 to
52aac09
Compare
Every leg recompiles from scratch each run, and reprotest recompiles twice more on top of that. This commits introduces ccache for both jobs, keyed per distro/arch; reprotest reuses the build job's artifacts. Cache size capped at --max-size=500M, stats logged, roughly 150M now.
|
"caching is hard": this caching business is tricky and to be frank, i don't think it's worth optimizing/thinking much about it right now as long as compiling dovecot is a very rare task. It would need thorough testing to ensure a) it helps b) doesn't break anything on multiple runs. Doing cold-compiles is more predictable and reproducable so i'd just stay with that for now. |
|
I was hoping it would shave off significant amounts of time from the new reprotest, but the results are too noisy across the few runs to support that hypothesis: At best, 44 vs 55 minutes, which is a long time either way; so closing this.
If we ever need to go back to this, we should probably |
Every leg recompiles from scratch each run, and reprotest recompiles twice more on top of that. This commit introduces ccache for both jobs, keyed per distro/arch; reprotest reuses the build job's artifacts. Cache size capped at --max-size=500M for now, stats logged; with these on the first (cold) run: