Repository navigation
outline unreachable! from Clause::kind - #163657
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
outline unreachable! from Clause::kind
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (2660fea): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. @bors rollup=never rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary 3.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.4%, secondary 3.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 491.121s -> 490.2s (-0.19%) |
|
r? @oli-obk rustbot has assigned @oli-obk. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
This is not as good as |
| } | ||
|
|
||
| pub fn kind(self) -> ty::Binder<'tcx, ClauseKind<'tcx>> { | ||
| #[cold] |
There was a problem hiding this comment.
can you put a comment here referencing this perf run, r=me after
There was a problem hiding this comment.
Done, thanks ;) but I don't have r+ rights to approve this
a5d2421 to
1a98b21
Compare
This comment has been minimized.
This comment has been minimized.
unreachable!() expands to panic("internal error: entered unreachable code"), which makes the happy path perform worse than plain argument-less call.
1a98b21 to
22f30e6
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors r+ rollup=never |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 4ddbc06 (parent) -> a639ea0 (this PR) Test differencesShow 3 test diffs3 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard a639ea0890c0977b1c45596fd6b5f9a70a1d67da --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (a639ea0): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesResults (secondary 3.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 491.424s -> 489.631s (-0.36%) |
|
huh, this is quite funny, there's no speedup anymore. I wonder what happened here. |
…s, r=ChrisDenton Outline constant messages from panicking macros This emits (very slightly) less code per call site because it's passing one less argument (the implicit caller location is still passed). Inspired by rust-lang#163657
…sDenton Outline constant messages from panicking macros This emits (very slightly) less code per call site because it's passing one less argument (the implicit caller location is still passed). Inspired by rust-lang/rust#163657
Safe alternative to #163639.
unreachable!()expands topanic("internal error: entered unreachable code"), which we've seen before to be worse than plain argument-less call in other hot places.see https://rust-lang.zulipchat.com/#narrow/channel/247081-t-compiler.2Fperformance/topic/needs.20help.3A.20small.20perf.20improvement.20with.20non-local.20reasoning/with/628660586