Skip to content

rustc 4x compilation time slowdown in rust 1.55 #88998

Description

@bazald

Moving from rustc 1.54 to 1.55, I'm observing a 4x compilation time slowdown for the examples for the hash-trie crate I'm working on. permalink to current revision

I'm not sure if this is a bug, or some new compilation feature, but compilation times increasing from 45-60s to 180-240s is not something I was expecting.

cargo run --release --example set
cargo run --release --example set_xor

Perhaps I'm doing something pathological in my crate, but I'd be very curious to know what change is causing this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-slowIssue: Problems and improvements with respect to performance of generated code.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions