MoonZoon icon indicating copy to clipboard operation
MoonZoon copied to clipboard

Optimize compilation

Open MartinKavik opened this issue 3 years ago • 2 comments

Try to use Fleet or these suggested optimizations: https://www.reddit.com/r/rust/comments/ua09tc/experimental_fleet_a_build_tool_for_rust_thats/i5w7n6g/?utm_source=reddit&utm_medium=web2x&context=3

(Also it could probably help to reduce GBs of target data by sharing target folders among crates and examples.)

MartinKavik avatar Apr 28 '22 19:04 MartinKavik

  • Added link to https://github.com/mozilla/sccache to development.md to reduce target folder sizes. Perhaps it could help also with CI build times but I focus mainly on debug build times to improve DX.
  • Cranelift could improve debug build time once it supports browser Wasm: https://github.com/bytecodealliance/wasmtime/issues/2566. I'll be watching it.
  • I haven't found any new "tricks" to implement in MZ, closing the issue.

MartinKavik avatar Feb 28 '24 02:02 MartinKavik