Skip to content
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

Derive PartialOrd by calling tuple's version #108515

Closed
wants to merge 2 commits into from

Conversation

scottmcm
Copy link
Member

Similar idea to #95637 & #98190 -- matching on ::core::option::Option::Some(::core::cmp::Ordering::Equal) for every field means a ton of output, so maybe we can do better by emitting something shorter that has the same behaviour.

Unlike Debug, this doesn't use dyn -- it makes a tuple, so preserves the static dispatch of the previous version.

r? @ghost

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 27, 2023
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-14 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v3' (SHA:ac593985615ec2ede58e132d2e21d2b1cbd6127c)
Download action repository 'rust-lang/simpleinfra@master' (SHA:697bea7ddceb6696743da8f159f268aef8bfb3c6)
Complete job name: PR (x86_64-gnu-llvm-14, false, ubuntu-20.04-xl)
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  CI_JOB_NAME: x86_64-gnu-llvm-14
---

---- [ui] tests/ui/range/range_traits-1.rs stdout ----
diff of stderr:

1 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
-   --> $DIR/range_traits-1.rs:5:5
3    |
3    |
4 LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
-    |                                ---------- in this derive macro expansion
- LL | struct AllTheRanges {
- LL |     a: Range<usize>,
-    |     ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
+    |                                ^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
10    = help: the trait `PartialOrd` is not implemented for `std::ops::Range<usize>`
+    = note: required for `&std::ops::Range<usize>` to implement `PartialOrd`
+    = note: 1 redundant requirement hidden
+    = note: 1 redundant requirement hidden
+    = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
+    = note: the full type name has been written to '$TEST_BUILD_DIR/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
11    = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
12 
13 error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
-   --> $DIR/range_traits-1.rs:8:5
+   --> $DIR/range_traits-1.rs:3:32
15    |
Some tests failed in compiletest suite=ui mode=ui host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
Some tests failed in compiletest suite=ui mode=ui host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
16 LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
- ...
- ...
- LL |     b: RangeTo<usize>,
-    |     ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
+    |                                ^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
21    |
22    = help: the trait `PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
+    = note: required for `&std::ops::RangeTo<usize>` to implement `PartialOrd`
+    = note: 1 redundant requirement hidden
+    = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
+    = note: the full type name has been written to '$TEST_BUILD_DIR/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
23    = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
24 
25 error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
-   --> $DIR/range_traits-1.rs:11:5
+   --> $DIR/range_traits-1.rs:3:32
27    |
27    |
28 LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
- ...
- ...
- LL |     c: RangeFrom<usize>,
-    |     ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
+    |                                ^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
33    |
34    = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
+    = note: required for `&std::ops::RangeFrom<usize>` to implement `PartialOrd`
+    = note: 1 redundant requirement hidden
+    = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
+    = note: the full type name has been written to '$TEST_BUILD_DIR/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
35    = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
36 
37 error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
-   --> $DIR/range_traits-1.rs:14:5
+   --> $DIR/range_traits-1.rs:3:32
39    |
39    |
40 LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
- ...
- LL |     d: RangeFull,
- LL |     d: RangeFull,
-    |     ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
+    |                                ^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
46    = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFull`
46    = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFull`
+    = note: required for `&std::ops::RangeFull` to implement `PartialOrd`
+    = note: 1 redundant requirement hidden
+    = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
+    = note: the full type name has been written to '$TEST_BUILD_DIR/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
47    = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
48 
49 error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>`
-   --> $DIR/range_traits-1.rs:17:5
+   --> $DIR/range_traits-1.rs:3:32
51    |
51    |
52 LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
- ...
- ...
- LL |     e: RangeInclusive<usize>,
-    |     ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
+    |                                ^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
57    |
58    = help: the trait `PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>`
+    = note: required for `&std::ops::RangeInclusive<usize>` to implement `PartialOrd`
+    = note: 1 redundant requirement hidden
+    = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
+    = note: the full type name has been written to '$TEST_BUILD_DIR/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
59    = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
60 
61 error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>`
-   --> $DIR/range_traits-1.rs:20:5
+   --> $DIR/range_traits-1.rs:3:32
63    |
63    |
64 LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
- ...
- ...
- LL |     f: RangeToInclusive<usize>,
-    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
+    |                                ^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
69    |
70    = help: the trait `PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
+    = note: required for `&std::ops::RangeToInclusive<usize>` to implement `PartialOrd`
+    = note: 1 redundant requirement hidden
+    = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
+    = note: the full type name has been written to '$TEST_BUILD_DIR/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
71    = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
72 
73 error[E0277]: the trait bound `std::ops::Range<usize>: Ord` is not satisfied

The actual stderr differed from the expected stderr.
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1/range_traits-1.stderr
To only update this specific test, also pass `--test-args range/range_traits-1.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/range/range_traits-1.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--remap-path-prefix=/checkout/tests/ui=fake-test-src-base" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1/auxiliary"
stdout: none
--- stderr -------------------------------
error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
  --> fake-test-src-base/range/range_traits-1.rs:3:32
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
   |                                ^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
   = help: the trait `PartialOrd` is not implemented for `std::ops::Range<usize>`
   = note: required for `&std::ops::Range<usize>` to implement `PartialOrd`
   = note: 1 redundant requirement hidden
   = note: 1 redundant requirement hidden
   = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
   = note: the full type name has been written to '/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
   = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
  --> fake-test-src-base/range/range_traits-1.rs:3:32
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
   |                                ^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
   |
   = help: the trait `PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
   = note: required for `&std::ops::RangeTo<usize>` to implement `PartialOrd`
   = note: 1 redundant requirement hidden
   = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
   = note: the full type name has been written to '/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
   = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
  --> fake-test-src-base/range/range_traits-1.rs:3:32
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
   |                                ^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
   |
   = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
   = note: required for `&std::ops::RangeFrom<usize>` to implement `PartialOrd`
   = note: 1 redundant requirement hidden
   = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
   = note: the full type name has been written to '/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
   = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
  --> fake-test-src-base/range/range_traits-1.rs:3:32
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
   |                                ^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
   = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFull`
   = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFull`
   = note: required for `&std::ops::RangeFull` to implement `PartialOrd`
   = note: 1 redundant requirement hidden
   = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
   = note: the full type name has been written to '/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
   = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>`
  --> fake-test-src-base/range/range_traits-1.rs:3:32
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
   |                                ^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
   |
   = help: the trait `PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>`
   = note: required for `&std::ops::RangeInclusive<usize>` to implement `PartialOrd`
   = note: 1 redundant requirement hidden
   = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
   = note: the full type name has been written to '/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
   = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>`
  --> fake-test-src-base/range/range_traits-1.rs:3:32
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
   |                                ^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
   |
   = help: the trait `PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
   = note: required for `&std::ops::RangeToInclusive<usize>` to implement `PartialOrd`
   = note: 1 redundant requirement hidden
   = note: required for `(&Range<usize>, &RangeTo<usize>, &RangeFrom<usize>, &RangeFull, &RangeInclusive<usize>, &...)` to implement `PartialOrd`
   = note: the full type name has been written to '/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/range_traits-1/range_traits-1.long-type-15923496276551163449.txt'
   = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `std::ops::Range<usize>: Ord` is not satisfied
  --> fake-test-src-base/range/range_traits-1.rs:5:5
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
   |                                            --- in this derive macro expansion
LL | struct AllTheRanges {
LL |     a: Range<usize>,
   |     ^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::Range<usize>`
   = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info)


error[E0277]: the trait bound `std::ops::RangeTo<usize>: Ord` is not satisfied
  --> fake-test-src-base/range/range_traits-1.rs:8:5
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
...
...
LL |     b: RangeTo<usize>,
   |     ^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeTo<usize>`
   = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info)


error[E0277]: the trait bound `std::ops::RangeFrom<usize>: Ord` is not satisfied
  --> fake-test-src-base/range/range_traits-1.rs:11:5
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
...
...
LL |     c: RangeFrom<usize>,
   |     ^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeFrom<usize>`
   = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info)


error[E0277]: the trait bound `std::ops::RangeFull: Ord` is not satisfied
  --> fake-test-src-base/range/range_traits-1.rs:14:5
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
...
LL |     d: RangeFull,
   |     ^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeFull`
   |
   |
   = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `std::ops::RangeInclusive<usize>: Ord` is not satisfied
  --> fake-test-src-base/range/range_traits-1.rs:17:5
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
...
...
LL |     e: RangeInclusive<usize>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeInclusive<usize>`
   = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info)


error[E0277]: the trait bound `std::ops::RangeToInclusive<usize>: Ord` is not satisfied
  --> fake-test-src-base/range/range_traits-1.rs:20:5
   |
LL | #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
...
LL |     f: RangeToInclusive<usize>,
LL |     f: RangeToInclusive<usize>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeToInclusive<usize>`
   = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 12 previous errors

@scottmcm
Copy link
Member Author

Ah, of course, without a specific span for each call it can't give error messages as precisely.

Well, let's see if it even helps perf like this before I try adding AssetIsPartialCmps to re-target the errors.

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Feb 27, 2023
@bors
Copy link
Contributor

bors commented Feb 27, 2023

⌛ Trying commit f365b68 with merge c0f92186d8497786151e1a47ca27737170179013...

@bors
Copy link
Contributor

bors commented Feb 27, 2023

☀️ Try build successful - checks-actions
Build commit: c0f92186d8497786151e1a47ca27737170179013 (c0f92186d8497786151e1a47ca27737170179013)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (c0f92186d8497786151e1a47ca27737170179013): comparison URL.

Overall result: ❌ regressions - ACTION NEEDED

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.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.6% [0.6%, 0.7%] 3
Regressions ❌
(secondary)
0.4% [0.3%, 0.6%] 5
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.6% [0.6%, 0.7%] 3

Max RSS (memory usage)

Results

This 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.

mean range count
Regressions ❌
(primary)
3.3% [3.0%, 3.7%] 2
Regressions ❌
(secondary)
2.9% [0.9%, 4.9%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.5% [-3.5%, -3.5%] 1
All ❌✅ (primary) 3.3% [3.0%, 3.7%] 2

Cycles

Results

This 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.

mean range count
Regressions ❌
(primary)
2.2% [2.2%, 2.2%] 1
Regressions ❌
(secondary)
2.2% [2.2%, 2.2%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.2% [2.2%, 2.2%] 1

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Feb 27, 2023
@scottmcm
Copy link
Member Author

Well, no luck.

@scottmcm scottmcm closed this Feb 27, 2023
@scottmcm scottmcm deleted the derive-via-tuple-attempt branch February 27, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf-regression Performance regression. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants