Skip to content

Instantly share code, notes, and snippets.

@antiguru
Created July 5, 2023 15:41
Show Gist options
  • Save antiguru/7fef78757a4ce760626df55c5a3f1470 to your computer and use it in GitHub Desktop.
Save antiguru/7fef78757a4ce760626df55c5a3f1470 to your computer and use it in GitHub Desktop.
Materialize w/sccache

Clean build:

    Finished dev [unoptimized + debuginfo] target(s) in 9m 53s

Every 2.0s: /home/moritz/.cargo/bin/sccache -s    cumin-pc: Wed Jul  5 17:36:34 2023

Compile requests                   1493
Compile requests executed          1290
Cache hits                            1
Cache hits (C/C++)                    1
Cache misses                       1287
Cache misses (C/C++)                404
Cache misses (Rust)                 883
Cache timeouts                        0
Cache read errors                     0
Forced recaches                       0
Cache write errors                    0
Compilation failures                  2
Cache errors                          0
Non-cacheable compilations            0
Non-cacheable calls                 200
Non-compilation calls                 3
Unsupported compiler calls            0
Average cache write               0.001 s
Average compiler                  1.845 s
Average cache read hit            0.000 s
Failed distributed compilations       0

Non-cacheable reasons:
crate-type                          178
unknown source language              12
-                                     8
-E                                    1
-x                                    1

Cache location                  Local disk: "/home/moritz/.cache/sccache"
Version (client)                0.5.4
Cache size                          510 MiB
Max cache size                       10 GiB

Next clean build:

    Finished dev [unoptimized + debuginfo] target(s) in 3m 49s

Every 2.0s: /home/moritz/.cargo/bin/sccache -s    cumin-pc: Wed Jul  5 17:41:33 2023

Compile requests                   2985
Compile requests executed          2580
Cache hits                         1287
Cache hits (C/C++)                  406
Cache hits (Rust)                   881
Cache misses                       1289
Cache misses (C/C++)                404
Cache misses (Rust)                 885
Cache timeouts                        0
Cache read errors                     0
Forced recaches                       0
Cache write errors                    0
Compilation failures                  4
Cache errors                          0
Non-cacheable compilations            0
Non-cacheable calls                 399
Non-compilation calls                 6
Unsupported compiler calls            0
Average cache write               0.001 s
Average compiler                  1.844 s
Average cache read hit            0.000 s
Failed distributed compilations       0

Non-cacheable reasons:
crate-type                          356
unknown source language              24
-                                    15
-x                                    2
-E                                    2

Cache location                  Local disk: "/home/moritz/.cache/sccache"
Version (client)                0.5.4
Cache size                          520 MiB
Max cache size                       10 GiB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment