Skip to content

Compilation is too slow #78

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

Closed
KeenS opened this issue May 31, 2020 · 3 comments
Closed

Compilation is too slow #78

KeenS opened this issue May 31, 2020 · 3 comments

Comments

@KeenS
Copy link
Owner

KeenS commented May 31, 2020

Compile time is good on rust 1.40.0 and bad on 1.41.0.
I guess related to rust-lang/rust#68666 rust-lang/rust#69671 .
Needs upstream fix

@matu3ba
Copy link

matu3ba commented Aug 4, 2020

Use Flamegraph or hyperfine to measure building.
Likely, if your interface is not that essential, you can use (pico-args)[https://github.com/RazrFalcon/pico-args].

@KeenS
Copy link
Owner Author

KeenS commented Jan 30, 2021

I haven't much investigated, but it seems the trait resolution is slow
flamegraph

@KeenS
Copy link
Owner Author

KeenS commented Mar 21, 2021

I bisected and found this commit introduced this problem. This commit, in turn, is introduced in this PR rust-lang/rust#66408.

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