-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Hi,
We've noticed a significant performance regression in compiling our top-level crate in release. It seems to have started as of nightly-2022-09-23:
$ touch src/main.rs && cargo build --release
Compiling ulv2 v0.1.0 (/home/max/src/ul/services/ulv2)
Finished release [optimized] target(s) in 17m 10s
With nightly-2022-09-22 the builds are significantly faster:
$ touch src/main.rs && cargo build --release
Compiling ulv2 v0.1.0 (/builds/UrbanLogiq/ul/services/ulv2)
Finished release [optimized] target(s) in 1m 22s
In trying to identify where this issue began we see that it's happening as far forward as 2022-11-14. Unfortunately other issues with toolchains have hindered us testing any further forward.
Compilation tests were done on an AMD 5950x (Ubuntu 22.04) with the following config.toml options:
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "target-feature=+avx2,+fma", "-C", "link-arg=-fuse-ld=lld"]
We've seen a similar ratio in our CI builds (Azure F8s instances building in Ubuntu 20.04), but Apple M1 (aarch64 darwin) builds are unaffected.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.