Skip to content

incremental = true causes 4-5x build time regression in generated rustc build times #52374

Closed
@RalfJung

Description

@RalfJung

I am running rm build/*/stage* -rf && ./x.py build src/libstd in two different situations: With incremental = true and with incremental = false. All the other settings in config.toml are commented out. This is using 1731f0a.

With incremental = false, the build step "Building stage1 std artifacts" takes 46s.
With incremental = true, the same step takes 4m 46s.

These are compiled using the stage0 compiler artifacts -- seems like those become way slower when incremental build is enabled?

(I am currently doing this experiment again just to be sure.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationWG-compiler-performanceWorking group: Compiler PerformanceWG-incr-compWorking group: Incremental compilation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions