-
Notifications
You must be signed in to change notification settings - Fork 251
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
Try optimizing only math-heavy dependencies in the test profile #1606
Comments
I cannot find any combination of options using profile overrides that beats what is currently on If we try to compile most things at any opt-level lower than 2, the test time balloons enormously. If we try to compile almost everything at opt-level 3 and just the top-level crates in the librustzcash workspace at any lower level (even 2), there is no improvement in build time. The issue with the latter is that The best option overall seemed to be "everything at |
As I said in #1607:
|
Originally posted by @str4d in #1443 (comment):
#1603 included the same change as #1443, changing the test profile to enable both optimization (at level 3, but without LTO) and debug info. This improved build times substantially relative to
cargo test --release
, without any significant regression in test times, and with an improvement in debuggability. However, we might be able to improve build times even further by following @str4d's suggestion.The text was updated successfully, but these errors were encountered: