19
rustc_codegen_cranelift is available on nightly!
(bjorn3.github.io)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Trying cranelift for the first time (I think).
Let's create a "release-dev-cl" profile that inherits "release-dev" profile and compare.
For reference, "release-dev" is:
Cool, cold builds (including deps) went from 73s to 37s, with
zstd-sysbecoming a bigger offender.But but but...
Alright. Which dep is using this. Let's
cargo vendorandrg.reported
Alright, let's try another project...
Nice, this one goes from 52s to 19s, and no unsupported intrinsics.
Let's test the binary.
Hmm, it's orders of magnitude slower.. let's
perf...Ouch,
Vec::extend_with(),usize::forward_unchecked(), and even worse,u8::clone()are slow!That's a hell of a comment !