Uh oh!
There was an error while loading. Please reload this page.
interpret: make some large types not Copy - #99309
Conversation
rustbot
commented
Jul 16, 2022
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri |
@bors try @rust-timer queue |
rust-timer
commented
Jul 16, 2022
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
rust-timer
commented
Jul 16, 2022
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
oli-obk
commented
Jul 16, 2022
@bors try @rust-timer queue |
rust-timer
commented
Jul 16, 2022
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Jul 16, 2022
⌛ Trying commit d90185827ab6d18956cf668fed302f01ee721eed with merge e43644679e78da80484751bc69eb266a1e5ba8e3... |
bors
commented
Jul 16, 2022
☀️ Try build successful - checks-actions |
rust-timer
commented
Jul 16, 2022
Queued e43644679e78da80484751bc69eb266a1e5ba8e3 with parent e6c43cf, future comparison URL. |
rust-timer
commented
Jul 16, 2022
Finished benchmarking commit (e43644679e78da80484751bc69eb266a1e5ba8e3): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesThis benchmark run did not return any relevant results for this metric. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 Footnotes |
There was a problem hiding this comment.
it's not going to matter much in the grand scheme of things by saving one (1) clone per call to this intrinsic, but this one should be easy to remove by calling copy_op in the branches ^^
There was a problem hiding this comment.
Yeah I considered this and decided, for the reasons you mentioned, that reducing code duplication is more important.
oli-obk
commented
Jul 18, 2022
r=me after a rebase |
RalfJung
commented
Jul 18, 2022
Oh, bors didn't mention the conflict, strange. @bors r=oli-obk |
bors
commented
Jul 18, 2022
bors
commented
Jul 19, 2022
bors
commented
Jul 19, 2022
☀️ Test successful - checks-actions |
rust-highfive
commented
Jul 19, 2022
Tested on commit rust-lang/rust@29c5a02. Direct link to PR: <rust-lang/rust#99309> 💔 miri on windows: test-fail → build-fail (cc @RalfJung@oli-obk). 💔 miri on linux: test-fail → build-fail (cc @RalfJung@oli-obk).
rust-timer
commented
Jul 19, 2022
Finished benchmarking commit (29c5a02): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesThis benchmark run did not return any relevant results for this metric. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
oli-obk
commented
Jul 20, 2022
weird, the previous perf run was clean. Inlining threshold noise I guess? |
oli-obk
commented
Jul 20, 2022
|
Also remove some unused trait impls (mostly HashStable).
This didn't find any unnecessary copies that I managed to avoid, but it might still be better to require explicit clone for these types? Not sure.
r? @oli-obk