-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
BTreeMap: clean up the full_range function #81372
Conversation
@bors try @rust-timer queue Let's check in on perf.rlo, but seems fine to drop to me. |
Awaiting bors try build completion. |
⌛ Trying commit c1f90a36f81aa92ed56deb199fda9d297b09966d with merge 606bf92f5dbb3cce7598c73a16806b4fc5bc0c59... |
☀️ Try build successful - checks-actions |
Queued 606bf92f5dbb3cce7598c73a16806b4fc5bc0c59 with parent 1483e67, future comparison URL. @rustbot label: +S-waiting-on-perf |
Finished benchmarking try commit (606bf92f5dbb3cce7598c73a16806b4fc5bc0c59): 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 |
Hm, overall those numbers definitely show this change had some significant effects, but it's less clear the extent to which they are positive or negative. |
I don't know what the numbers mean and how stable they are. The only way I see how |
c1f90a3
to
68b6759
Compare
68b6759
to
b5449a1
Compare
b5449a1
to
b4c2e2f
Compare
The alloc benchmarks (that shrugged their shoulders over the abolition of full_range) consistently grant the latest version a ~5% win on the iterator tests, inconsistently setting back a few unrelated tests. |
@rustbot label: -S-waiting-on-author |
@bors try @rust-timer queue |
Awaiting bors try build completion. |
⌛ Trying commit b4c2e2f with merge 03b68f29bfcd32cd4c39c1f476deac63debada36... |
☀️ Try build successful - checks-actions |
Queued 03b68f29bfcd32cd4c39c1f476deac63debada36 with parent c0b64d9, future comparison URL. @rustbot label: +S-waiting-on-perf |
Finished benchmarking try commit (03b68f29bfcd32cd4c39c1f476deac63debada36): 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 |
I don't think we can land this with regressions in the perf suite and at least to me no strong benefit (AFAICT, this is just a refactoring and isn't actually necessary for other work?). I'm going to go ahead and close but happy to reopen or continue discussing if you would like; in particular, if you feel that there is a strong benefit. |
…ark-Simulacrum BTreeMap: fix internal comments Salvaged from rust-lang#81372 r? `@Mark-Simulacrum`
Long ago, benchmarks seemed to say this function had a performance benefit, but with more accurate benchmarking and insight I think that was malarkey.
r? @Mark-Simulacrum