Cool, cold builds (including deps) went from 73s to 37s, with zstd-sys becoming a bigger offender.
But but but...
warning: unsupported x86 llvm intrinsic llvm.x86.aesni.aesimc; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.aesni.aesdec; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.aesni.aesdeclast; replacing with trap
Alright. Which dep is using this. Let's cargo vendor and rg.
% cargo vendor &>/dev/null
% cd vendor
% rg -l 'aesimc|aesdec|aesdeclast' | sed 's|/.*||' | sort -u
aes
ring
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!