home.social

#sccache — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sccache, aggregated by home.social.

  1. I want to use #Lychee (a link check written in #Rust) on #CircleCI. Doing just `cargo install lychee` took 5min, so I searched the internet and got advised I should use #sccache to cache dependencies or what.

    Now it takes 13min, because `cargo install sccache` takes 7min and `cargo install lychee` takes 5.5min 🤦‍♂️

    Anyone has an idea how to install a Rust thing to a machine in a reasonable time or how to cache the binary or something?

  2. @xuanwo 对于你的《为什么你该试试 Sccache?》一文,我有了一个疑惑:#sccache 是以文件为单位的,那会不会遇到 #GithubActionCacheService 的 rate limit 呢?

    Magic #Nix Cache 的文档里提到,超过 #GHA Cache limit 时会遇到429错误。你的博文里也提到,旧的 #rust cache 粒度更粗,不用担心 #Github action cache limit.

    ref:
    xuanwo.io/reports/2023-04/
    github.com/DeterminateSystems/

  3. Wichtigste Eigenschaft eines Compiler-Caches: Geschwindigkeit, Geschwindigkeit und letztendlich Geschwindigkeit.

    Tja, und dann ist das feature-überladene New Kid on the Block gut 25% langsamer, als der alte Platzhirsch. Bei warmem, perfekt befüllten Cache wohlgemerkt. Von der unfassbar schlimmen Performance bei kaltem Cache mag ich überhaupt nicht anfangen...

    #CCache vs. #SCCache
    #fail #bloatware