Skip to content

rustbuild is 1.4 times slower than make at building and testing #38284

Closed
@petrochenkov

Description

@petrochenkov

Build everything (without LLVM):

Build system Target Time Penalty
make make -j8 17m56.338s 0%
rustbuild ../x.py build -j8 24m42.664s +38%

Build stage 1 and test something (without LLVM):

Build system Target Time Penalty
make make check-stage1-rpass -j8 10m22.479s 0%
rustbuild ../x.py test --stage 1 src/test/run-pass -j8 14m20.133s +38%

Default build config + enabled ninja were used in both cases.

cc @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions