Repository navigation
Direct mode stats - #2860
Direct mode stats#2860badumbatish wants to merge 9 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2860 +/- ##
==========================================
+ Coverage 78.13% 78.19% +0.06%
==========================================
Files 74 74
Lines 43570 43727 +157
==========================================
+ Hits 34043 34193 +150
- Misses 9527 9534 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
seems theres's some CI infrastructure error, can you help me restart them? |
b551ca5 to
3cb1240
Compare
See the following: ``` sccache on direct_mode_stats is 📦 v0.17.0 via 🦀 v1.97.1 via ❄️ impure (sccache-dev-env) took 2s ➜ ./target/debug/sccache --show-stats [2026-09-10 15:58:34] Compile requests 3 Compile requests executed 0 Cache hits 0 Direct cache hits 0 Cache misses 0 Direct cache hits 0 Cache hits rate - Direct cache hits rate - Cache timeouts 0 Cache read errors 0 Forced recaches 0 Cache write errors 0 Cache errors 0 Compilations 0 Compilation failures 0 Non-cacheable compilations 0 Non-cacheable calls 0 Non-compilation calls 3 Unsupported compiler calls 0 Average cache write 0.000 s Average compiler 0.000 s Average cache read hit 0.000 s Failed distributed compilations 0 Cache location Local disk: "/home/jjasmine/.cache/sccache" Base directories (none) Use direct/preprocessor mode? yes Version (client) 0.17.0 Max cache size 10 GiB ```
19f6ea5 to
4dd650b
Compare
4dd650b to
713640e
Compare
|
is preprocessor mode always missing out on msvc? it seems that without the latest experiment patch to opt for -E instead of -EP on msvc when we're in preprocessor mode, the test will fail to record any direct cache hits: https://github.com/mozilla/sccache/actions/runs/38300755537/job/114982834101 iiuc this originates from #208 and #893 but it seems to be inhibiting direct mode of msvc, at least on CI. Do you prefer I come up with a different PR to enable the direct mode of msvc on CI? |
No description provided.