-
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
Less generic code for Vec allocations #122396
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Less generic code for Vec allocations Follow up to rust-lang#120504 (comment) which hopefully makes compilation faster.
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (5af3381): comparison URL. Overall result: ✅ improvements - no 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. @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: 672.776s -> 672.488s (-0.04%) |
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.
Looks like there are some very small performance gains, and this makes sense to me from a readability standpoint.
Just two things, and then this should be good to go!
870d332
to
fc241d7
Compare
dd2753c
to
a7064e1
Compare
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Less generic code for Vec allocations Follow up to rust-lang#120504 (comment) which hopefully makes compilation faster.
This comment was marked as outdated.
This comment was marked as outdated.
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (918ae71): 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: 669.125s -> 667.891s (-0.18%) |
@bors r=joboet |
Less generic code for Vec allocations Follow up to rust-lang#120504 (comment) which hopefully makes compilation faster.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
533d7d1
to
443e29c
Compare
I've removed word "reserve" from helper function name to avoid confusing tests that look for absence of functions like |
Cool! r=me once CI comes in green. |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (c9f8f34): 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: 671.34s -> 672.049s (0.11%) |
We briefly discussed this in the libs meeting, but it didn't seem worth backporting considering the small performance impact. |
Follow up to #120504 (comment) which hopefully makes compilation faster.