Skip to content

Deterministic build order of crates #2607

@MagaTailor

Description

@MagaTailor

Benchmarking on a multicore system would benefit from being able to replay compilations in the exact same order.

The biggest source of variability presently is when memory hogging crates get bunched up together leading to swapping.

A deterministic compilation switch is probably not worth the effort, but the ability to simply dump the last build order to a toml file and feed it back to cargo could help with reproducible benchmarking.

Or is it already possible perhaps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions