-
Notifications
You must be signed in to change notification settings - Fork 13.3k
add #[track_caller] to slice split_at_mut fn #83403
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
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
It looks like many of other methods may also have this issue, do we need to create a new Issue to track and resolve these issues? |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit f770774 with merge 7a3a18a727383d099db87281fa8973c5b0b40da3... |
☀️ Try build successful - checks-actions |
Queued 7a3a18a727383d099db87281fa8973c5b0b40da3 with parent 2bd94f4, future comparison URL. |
Finished benchmarking try commit (7a3a18a727383d099db87281fa8973c5b0b40da3): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
@hi-rustin once #83359 is merged i'm planning on targeting the others as well |
I don't think rust-timer is a good way to evaluate the performance impact of this. This should be ideally accompanied by some microbenchmark results, I feel. |
@nagisa It's not perfect, but it helps give an idea of the impact. A similar proposal to add |
Hmmm. This seems to have a surprisingly high impact on max-rss in some cases. |
max-rss regularly varies up to 15-20% on benchmarks, though we've not pinpointed why, so I think the variation here is just noise. |
Ah, that's unfortunate; I've seen many people evaluating max-rss figures from rust-timer without knowing about that level of variability. |
@joshtriplett Can we merge this PR? #83359 (comment) It seems that this max-rss change is acceptable? |
@bors try @rust-timer queue |
Insufficient permissions to issue commands to rust-timer. |
@hi-rustin: 🔑 Insufficient privileges: not in try users |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit f770774 with merge b1c1d69922eb21f55a08867e6f68fe78e17d2f2b... |
☀️ Try build successful - checks-actions |
Queued b1c1d69922eb21f55a08867e6f68fe78e17d2f2b with parent 3e1c75c, future comparison URL. |
Finished benchmarking try commit (b1c1d69922eb21f55a08867e6f68fe78e17d2f2b): comparison url. Summary: This benchmark run did not return any significant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. @bors rollup=never |
close #83378