-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Increase in compilation times with newest beta & nightly #67454
Copy link
Copy link
Closed
Labels
I-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.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.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
I-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.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.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
This was initially reported in Marwes/combine#278.
I hit an important increase in compilation times on beta & nightly with a
particular configuration using
combine-3.8.1since the recent version updatesin the Rust toolchains.
I tried building an example without
combinein order to submit it torustcbut it turns out not to be trivial. I ran into this as a side effect in CI and
can't spend much time investigating ATM, sorry.
From the CI logs I have at hand, the issue was not present as of:
rustc 1.41.0-nightly (fdc0011 2019-12-02).
Reduced example
Here is an example with which I was able to reproduce the issue:
Toolchain versions
The toolchain used for these tests are those available as of 2019/12/20:
Compilation times
For each test,
cargo cleanwas run before building in debug mode.With
message(..)Without
message(..)"Interestingly", removing the
.message(..)line reduces compilation timessignificantly.