-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[perf] Fast path for coercions of TY == TY #142973
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
base: master
Are you sure you want to change the base?
Conversation
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
[perf] Fast path for coercions of TY == TY
This comment has been minimized.
This comment has been minimized.
ugh oops i shouldn't have pushed lol @bors2 try @rust-timer queue |
[perf] Fast path for coercions of TY == TY
This comment has been minimized.
This comment has been minimized.
@@ -6,7 +6,6 @@ LL | let tmp0 = 3; | |||
LL | let tmp1 = &tmp0; | |||
| ^^^^^ borrowed value does not live long enough | |||
LL | repeater3(tmp1) | |||
| --------------- borrow later captured here by trait object |
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.
This suggestion is was never valid. repeater3
is what's responsible for doing the unsizing, and the fact that we were reporting this as capturing A
just because it has the signature fn<'a, A: 'a>(A) -> Box<dyn Tr + 'a>
is kinda... coincidental.
The job Click to see the possible cause of the failure (guessed by this bot)
|
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (5bbf4be): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -2.4%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -1.8%, secondary -4.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 689.383s -> 688.515s (-0.13%) |
No description provided.