Open
Conversation
Contributor
|
In my projects I usually disable caching on Windows. Their gzip or whatever compression they use is so spectacularly slow that it is faster to download/install things from scratch than decompressing/recompressing cache. |
Collaborator
|
I feel like we had this somewhere (rust-cuda?) and had to remove it |
Member
Author
|
Well, you've actively using it in rust-cuda, even if for windows only... Otherwise I can't find any mention of it, neither in issues, PRs or history of those files |
a248d59 to
6441dc7
Compare
Merged
…ove cache from lint
6441dc7 to
60b21e1
Compare
60b21e1 to
ee3f47b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requires #530
(slightly outdated table, should still be accurate enough)
Final Results
End to end:
*adjusted due to flakyness of rustup install, usually takes only 40s on windows
Analysis
End to end: -11m 20s
Note: this includes #530
End to end: +1m 20s*
Note: This is unfair as "own cache" data does not include #530. difftest should be worse and test should be better than expected.
End to end: +20s
My investigation log
Feel free to ignore and just look at the results
Adding caching
First run (with no cache present) is looking real bad:
First CI with restore
Comparing latest main to this PR:
Install toolchain before restore (run attempt #1)
purging caches and retrying CI (run attempt #2)
Lessen cache usage
testcreates the cache, for each platformdifftestmay get a separate cache for the difftest target dirremove rustup env vars
cargo test -p difftestmove "test difftest" to test job
ci: make "test" prep better cache for compiletests and difftests
didn't work, try again
ci: fix prep cache being useless due to weird feature selection