Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] Elaborate drops to calls #130691

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

Draft
scottmcm wants to merge 2 commits into rust-lang:master
base: master
Choose a base branch
Loading
from scottmcm:elaborate-drops-to-calls

Conversation

Copy link
Member

@scottmcm scottmcm commented Sep 22, 2024

For now just borrowing CI to check for annoying no_core tests that I broke
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 Sep 22, 2024

This comment has been minimized.

This comment has been minimized.

@scottmcm scottmcm added S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 22, 2024
Copy link
Member Author

@bors try @rust-timer queue

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 22, 2024
Copy link
Collaborator

bors commented Sep 22, 2024

⌛ Trying commit b154623 with merge b8f401a...

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2024
...=<try>
[WIP] Elaborate drops to calls
For now just borrowing CI to check for annoying no_core tests that I broke
r? ghost
Copy link
Collaborator

bors commented Sep 22, 2024

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

This comment has been minimized.

Copy link
Collaborator

Finished benchmarking commit (b8f401a): comparison URL.

Overall result: ❌✅ regressions and improvements - 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)
1.6% [0.2%, 9.0%] 7
Regressions ❌
(secondary)
0.3% [0.1%, 0.9%] 4
Improvements ✅
(primary)
-1.2% [-2.0%, -0.2%] 4
Improvements ✅
(secondary)
-1.1% [-1.7%, -0.2%] 10
All ❌✅ (primary) 0.6% [-2.0%, 9.0%] 11

Max RSS (memory usage)

Results (primary 2.1%, secondary -2.2%)

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% [2.6%, 4.7%] 3
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-1.4% [-1.4%, -1.4%] 1
Improvements ✅
(secondary)
-2.2% [-2.2%, -2.2%] 1
All ❌✅ (primary) 2.1% [-1.4%, 4.7%] 4

Cycles

Results (primary 0.4%, secondary 2.4%)

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)
6.3% [6.3%, 6.3%] 1
Regressions ❌
(secondary)
2.4% [2.4%, 2.4%] 1
Improvements ✅
(primary)
-1.1% [-1.7%, -0.6%] 4
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.4% [-1.7%, 6.3%] 5

Binary size

Results (primary -0.7%, secondary -1.0%)

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)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.7% [-1.0%, -0.2%] 6
Improvements ✅
(secondary)
-1.0% [-2.0%, -0.1%] 6
All ❌✅ (primary) -0.7% [-1.0%, -0.2%] 6

Bootstrap: 769.195s -> 756.316s (-1.67%)
Artifact size: 341.55 MiB -> 341.49 MiB (-0.02%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Sep 22, 2024
Copy link
Member Author

scottmcm commented Jul 3, 2025

Rerunning CI to see how bitrotted this is...

Copy link
Collaborator

The job tidy failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
##[endgroup]
[TIMING] core::build_steps::tool::ToolBuild { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu, tool: "tidy", path: "src/tools/tidy", mode: ToolBootstrap, source_type: InTree, extra_features: [], allow_features: "", cargo_args: [], artifact_kind: Binary } -- 9.238
[TIMING] core::build_steps::tool::Tidy { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu } -- 0.000
fmt check
Diff in /checkout/compiler/rustc_mir_transform/src/inline/cycle.rs:1:
 use rustc_data_structures::fx::{FxHashMap, FxHashSet, FxIndexSet};
 use rustc_data_structures::stack::ensure_sufficient_stack;
 use rustc_data_structures::unord::UnordSet;
-use rustc_hir::def_id::{DefId, LocalDefId};
 use rustc_hir::LangItem;
+use rustc_hir::def_id::{DefId, LocalDefId};
 use rustc_middle::mir::TerminatorKind;
 use rustc_middle::ty::{self, GenericArg, GenericArgsRef, InstanceKind, TyCtxt, TypeVisitableExt};
 use rustc_session::Limit;
fmt: checked 6136 files
Build completed unsuccessfully in 0:00:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
perf-regression Performance regression. S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /