-
Notifications
You must be signed in to change notification settings - Fork 13k
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
BTree: encapsulate LeafRange better & some debug asserts #85980
Conversation
49d3c9c
to
39542e4
Compare
added a comment + added debug assert on such |
39542e4
to
932bcc5
Compare
split up benchmarks to better illustrate the disappointment that started #62924 |
3f0ba42
to
bb0c017
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit bb0c01770e325d66292ee8ea84ef1eaf1ba249af with merge 078cf1207b1bbbf628b7e0b76de039fea4fb6d59... |
☀️ Try build successful - checks-actions |
Queued 078cf1207b1bbbf628b7e0b76de039fea4fb6d59 with parent 35fff69, future comparison URL. |
Finished benchmarking try commit (078cf1207b1bbbf628b7e0b76de039fea4fb6d59): 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 |
Lots of red, which to me means, if anything, that #74615 is still haunting |
As to library/alloc benchmarks:
|
I am happy with modifications to use of unwrap_unchecked; generally, if we can not use it and the performance does not show problems, we shouldn't use it. (Obviously, if performance improves, then not using it seems better). I think this may be a change in opinion from the other PR; I'd be ok accepting a rebased version of it presuming perf.rlo was neutral or an improvement. |
bb0c017
to
be6c638
Compare
be6c638
to
b9d43c6
Compare
#74693 was about the btree's private Anyway, for the time being, here's a rebased version with the two |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit b9d43c6 with merge 013ba6f7c5a4503fd819fadde66647e054355c7c... |
☀️ Try build successful - checks-actions |
Queued 013ba6f7c5a4503fd819fadde66647e054355c7c with parent eab201d, future comparison URL. |
Finished benchmarking try commit (013ba6f7c5a4503fd819fadde66647e054355c7c): 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 |
@bors r+ |
📌 Commit b9d43c6 has been approved by |
☀️ Test successful - checks-actions |
Looking at iterators again, I think #81937 didn't house enough code in
LeafRange
. Moving the API boundary a little makes things more local in navigate.rs and less complicated in map.rs.r? @Mark-Simulacrum