-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
fulfill: try using SmallVec or Box for stalled_on #72776
Conversation
r=me if the perf CI run looks good: @bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 8be007786cb0aa917163757d9ee5fa7d8a7a7d4a with merge 95fdf3ad69575b3abd39f50ddc1c669115d57664... |
☀️ Try build successful - checks-azure |
Queued 95fdf3ad69575b3abd39f50ddc1c669115d57664 with parent 91fb72a, future comparison URL. |
Finished benchmarking try commit 95fdf3ad69575b3abd39f50ddc1c669115d57664, comparison URL. |
Well, I did not expect that 😆 So my understanding is that we very frequently look at the elements of I think I will go ahead and update the docs, so we don't forget this. |
I now changed Let's see if this changes perf 🤷 |
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit a7c4b936ea3b3f79883bfc7eb7be0c76027cb664 with merge 9c4cd0972aa23430f490bc23cab84804323de3de... |
☀️ Try build successful - checks-azure |
Queued 9c4cd0972aa23430f490bc23cab84804323de3de with parent 74e8046, future comparison URL. |
Finished benchmarking try commit 9c4cd0972aa23430f490bc23cab84804323de3de, comparison URL. |
If you have a Linux machine I recommend getting familiar with local benchmarking and profiling, it'll be much faster and easier than having to create PRs and do perf runs on CI. Instructions are here. |
Updated the comment of |
The new comment in the code looks good, thanks. The first comment in this PR will be used in the merge commit. Can you update that so it describes the new change rather than the old change? That way the VCS history will be clearer. |
👍 Like this? |
@bors r+ rollup=always Thanks! |
📌 Commit 0441763 has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#72776 (fulfill: try using SmallVec or Box for stalled_on) - rust-lang#72818 (Clean up E0622 explanation) - rust-lang#72823 (Add descriptions for all queries) - rust-lang#72832 (RELEASES.md: Expand `cargo tree` note to mention `cargo tree -d`) - rust-lang#72834 (Rephrase term 'non-pointer type') Failed merges: r? @ghost
Tested both
Box
andSmallVec
forstalled_on
, with both resulting in a perf loss.Adds a comment mentioning this and removes an now outdated FIXME.
Logging the length of
stalled_on
resulted in the following distribution while building a part of stage 1 libs:cc @eddyb
r? @nnethercote