Comments (3)
This is the expected behavior.
Sccache caches compilations. Clippy is static analysis. If you try sccache with clippy, add sccache overhead but still have to run the full analysis.
Maybe we should break the build to make this explicit.
from sccache.
Well, hm, the reason I started looking into this at all was because my regular builds felt slower too. I can try to make this issue report about that instead, it just felt that clippy
was a much better demo of the problem. Thanks for letting me know that isn't the case.
EDIT: though that will have to wait for a little bit.
from sccache.
Hey,
Thank you for the patience! I tried it out with cargo build
and was able to get build times in the order of 1 minute after a populated cache (as opposed to 1m 47s for a regular build.) It still feels like a lot of time is being spent somewhere in sccache, but at least this is not slower and I donโt have any other actionable insights so Iโll close this.
Thank you for making this tool!
from sccache.
Related Issues (20)
- Failed to install sccache 0.73 HOT 7
- A Proposal Letter Suggesting the Use of `cargo install sccache --locked` HOT 2
- Version of sccache available on apt has all backends disabled HOT 2
- failed to read from file: Is a directory
- Bad cache when compile with --target HOT 2
- Intermittent CI failures `error: No such file or directory (os error 2)` HOT 1
- "PermissionDenied (permanent) at stat" via GHA with 0.7.5 lockfile HOT 20
- Symlinks in the sysroot can prevent auto-packaged toolchains from working correctly
- ld.so configuration may not be fully copied into automatically generated toolchains
- on OpenSuse: bwrap: Can't mount proc on /newroot/proc: Operation not permitted HOT 4
- common_args is not included in preprocessor caching HOT 3
- The `RUSTC_WORKSPACE_WRAPPER` case does not work if the wrapper is called `rustc` HOT 1
- sccache --show-stats when server is not running should probably avoid spawning the server
- Add native aliyun oss support (mentorship available) HOT 6
- Feature Request: Support caching HIP compilation using clang
- sccache --zero-stats shows useless stats HOT 1
- Building with `--no-default-features --features=gcs` generates some warnings
- 0.7.6 includes a breaking change, but is a semver "minor". HOT 4
- 0.7.6 doesn't handle MSVC /Tp option correctly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sccache.