-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Test out parallel frontend via crater #146237
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
base: master
Are you sure you want to change the base?
Test out parallel frontend via crater #146237
Conversation
rustbot has assigned @petrochenkov. Use |
@bors try |
…try> Test out parallel frontend via crater
This comment has been minimized.
This comment has been minimized.
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors try spurious failure |
Unknown argument "spurious". Run |
Never mind, that was PR CI, not the try job. |
@craterbot build-and-test |
🚨 Error: failed to parse the command 🆘 If you have any trouble with Crater please ask in t-infra on Zulip |
@craterbot run mode=build-and-test |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
I would like to help push progress on parallel compiler. I think it will be necessary at some point to test compiler in its multi-threaded mode (we already "have" parallel compiler but it is single-threaded by default) via crater. It would allow us to diagnose new issues, measure impact on the ecosystem and estimate amount of remaining work.
I have modified compiler to use
"num_cpus" number of8 threads by default. But I am not sure if there's better value for the cloud environment, so please tell if there is one. I am also not aware of any other nuances of cloud computing, but @Mark-Simulacrum on zulip have confirmed it should be fine.I believe
build-and-test
crater mode should provide us with more useful information than the other modes, but if necessary you can scale it down to justbuild only
.Related zulip thread: #t-compiler/parallel-rustc > Run crater with `-Zthreads=$NUM_CPUS` set
EDIT: Switched from num_cpus to 8 threads