[perf] Make fulfill in method probe less bad#124303
[perf] Make fulfill in method probe less bad#124303compiler-errors wants to merge 4 commits intorust-lang:masterfrom
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
…<try> [perf] Make fulfill in method probe less bad r? `@lcnr`
This comment has been minimized.
This comment has been minimized.
| )); | ||
| ) | ||
| .collect(); | ||
| if let Some(obligation) = predicates.iter().find(|obligation| { |
There was a problem hiding this comment.
Could this be rewritten as if !self.infcx.next_trait_solver() && let Some(obligation) = predicates.iter().find(...)
|
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (b0dd851): comparison URL. Overall result: ❌ regressions - 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.
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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 675.427s -> 672.261s (-0.47%) |
|
sadness |
cafa457 to
3ffdd7f
Compare
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
…<try> [perf] Make fulfill in method probe less bad r? `@lcnr`
|
@bors r- |
|
@bors retry |
…<try> [perf] Make fulfill in method probe less bad r? `@lcnr`
|
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (6b1c814): comparison URL. Overall result: no relevant changes - 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 benchmark run did not return any relevant results for this metric. 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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 674.062s -> 671.689s (-0.35%) |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
| EvaluationResult::EvaluatedToOk => { | ||
| // No side-effects, no need to register obligations. | ||
| } | ||
| EvaluationResult::EvaluatedToOkModuloRegions |
There was a problem hiding this comment.
TODO: We could also skip registering the obligations if they're OkModuloRegions, since we already check for leak check failures in the eval call.
…<try> [perf] Make fulfill in method probe less bad r? `@lcnr`
|
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (aeb7743): 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.
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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 672.117s -> 675.012s (0.43%) |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
…<try> [perf] Make fulfill in method probe less bad r? `@lcnr`
|
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (5b27a6e): 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.
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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 674.533s -> 673.567s (-0.14%) |
|
Ok -- after many attempts to fix this, I'm tempted to say that this perf regression is not possible to fix. |
r? @lcnr