-
Notifications
You must be signed in to change notification settings - Fork 1.6k
cache test item names #8182
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
cache test item names #8182
Conversation
r? @giraffate (rust-highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits
4c3b305
to
8da9a82
Compare
@giraffate thanks, changed the name. |
@bors r+ Thanks! |
📌 Commit 8da9a82 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
@wtfsck can you build master and check if this improves your clippy perf? |
@llogiq Yes, this fixed the perf problems and the speed is back to normal. |
This avoids quadratic behavior (collecting all test item names for each
eq_op
instance within the module). However, it invests a good deal of memory to buy this speedup. If that becomes a problem, I may need to change the cache to only store the chain of last visited modules.This hopefully fixes #8171.
changelog: none