-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Specialize StepBy<Range<{integer}>>
#111850
Conversation
r? @scottmcm (rustbot 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.
Sorry for taking a while to get to this. I left a bunch of disjointed comments; let me know your thoughts.
@rustbot author
83ec7fc
to
b88490f
Compare
This comment has been minimized.
This comment has been minimized.
b88490f
to
c62d2f9
Compare
iter::StepBy::{next, fold}
StepBy<Range<{integer}>>
I have changed the entire approach how |
@rustbot ready |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit c62d2f9b9a2b830db904ebc6b9bf33b1720534e8 with merge fc94a690daa0c02e7964682d65b274a68159cf63... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (fc94a690daa0c02e7964682d65b274a68159cf63): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 658.381s -> 655.317s (-0.47%) |
c62d2f9
to
73ff0d7
Compare
@bors try @rust-timer queue |
Finished benchmarking commit (be7d6aa8b769bfc86618a0922f69dca766e12f15): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 663.045s -> 661.977s (-0.16%) |
56a1d39
to
f052022
Compare
f052022
to
f174547
Compare
@bors r=scottmcm |
⌛ Testing commit f174547 with merge b842bb2a28ae3af01a53179d9b688c8f1ca83037... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
the mips job is flaky. see https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/MIPS.20failure.20on.20CI/near/368404515 @bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ae8ffa6): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 663.059s -> 662.314s (-0.11%) |
OLD
NEW
NEW +
-Ctarget-cpu=x86-64-v3
I have only optimized for walltime of those methods, I haven't tested whether it eliminates bounds checks when indexing into slices via things like
(0..slice.len()).step_by(16)
.