-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Optimize dep node backtrace and ignore fatal errors #108524
Conversation
This also changes the output to use stderr and is closer to the query stack output. Example:
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 5970f1aa22f9344e87cd8c190ffccdccf62b9385 with merge eadb1f6088ecc53b080a9c90867a22052ee7a433... |
☀️ Try build successful - checks-actions |
1 similar comment
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (eadb1f6088ecc53b080a9c90867a22052ee7a433): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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 Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis 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.
CyclesThis benchmark run did not return any relevant results for this metric. |
frame: Option<&MarkFrame<'_>>, | ||
) { | ||
eprintln!("there was a panic while trying to force a dep node"); | ||
eprintln!("try_mark_green dep node stack:"); |
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 needs to use handler.force_print_diagnostic
to play nice with the rest of the infra, like print_query_stack
does.
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.
report_ice
-> try_print_query_stack
-> print_query_stack
just prints to stderr like this. It does not rely on the session emitter at all.
☔ The latest upstream changes (presumably #108417) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r+ |
⌛ Testing commit f48ff4a with merge d178f7d928ee7e0218c148b7ec08c2ef25178755... |
💔 Test failed - checks-actions |
@bors retry |
The job Click to see the possible cause of the failure (guessed by this bot)
|
☀️ Test successful - checks-actions |
Finished benchmarking commit (13b7aa4): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis 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.
CyclesResultsThis 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.
|
At worst it would increase stack usage a bit, but it shouldn't affect |
This attempts to optimize #91742 while also passing through fatal errors.
r? @cjgillot