Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deterministic build order of crates #2607

Closed
MagaTailor opened this issue Apr 22, 2016 · 1 comment
Closed

Deterministic build order of crates #2607

MagaTailor opened this issue Apr 22, 2016 · 1 comment

Comments

@MagaTailor
Copy link

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?

@gnzlbg
Copy link
Contributor

gnzlbg commented Feb 4, 2018

you are not alone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants