moose icon indicating copy to clipboard operation
moose copied to clipboard

Reduce Rust compilation time

Open mortendahl opened this issue 3 years ago • 1 comments

CI currently takes ~12-13min, but even local compilation time can feel long during development. This issue is about finding low-hanging fruit to optimize Rust compilation time and ideally also CI.

mortendahl avatar Aug 23 '21 09:08 mortendahl

Some references:

  • https://endler.dev/2020/rust-compile-times/
  • https://matklad.github.io/2021/09/04/fast-rust-builds.html
  • https://github.com/Swatinem/rust-cache
  • https://pingcap.com/blog/rust-compilation-model-calamity
  • https://github.com/RazrFalcon/cargo-bloat

mortendahl avatar Dec 08 '21 15:12 mortendahl