|
| 1 | +# 2025-08-04 Triage Log |
| 2 | + |
| 3 | +Overall positive week, but most of the changes are in very small incremental scenarios. |
| 4 | + |
| 5 | +Triage done by **@panstromek**. |
| 6 | +Revision range: [e3514bde..07b7dc90](https://perf.rust-lang.org/?start=e3514bde96d2d13586337a48db77fa64b850d249&end=07b7dc90ee4df5815dbb91ef8e98cb93571230f5&absolute=false&stat=instructions%3Au) |
| 7 | + |
| 8 | +**Summary**: |
| 9 | + |
| 10 | +| (instructions:u) | mean | range | count | |
| 11 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 12 | +| Regressions ❌ <br /> (primary) | 0.4% | [0.2%, 1.0%] | 28 | |
| 13 | +| Regressions ❌ <br /> (secondary) | 0.7% | [0.0%, 2.8%] | 29 | |
| 14 | +| Improvements ✅ <br /> (primary) | -0.5% | [-2.7%, -0.1%] | 95 | |
| 15 | +| Improvements ✅ <br /> (secondary) | -0.9% | [-9.2%, -0.0%] | 62 | |
| 16 | +| All ❌✅ (primary) | -0.3% | [-2.7%, 1.0%] | 123 | |
| 17 | + |
| 18 | +2 Regressions, 4 Improvements, 10 Mixed; 6 of them in rollups |
| 19 | +35 artifact comparisons made in total |
| 20 | + |
| 21 | +#### Regressions |
| 22 | + |
| 23 | +LoongArch64 LSX fast-path for `str.contains(&str)` [#144393](https://github.com/rust-lang/rust/pull/144393) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=686bc1c5f9c06762b18082434c04d514acf6707e&end=ba7e63b63871a429533c189adbfb1d9a6337e000&stat=instructions:u) |
| 24 | + |
| 25 | +| (instructions:u) | mean | range | count | |
| 26 | +|:----------------------------------:|:----:|:------------:|:-----:| |
| 27 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 28 | +| Regressions ❌ <br /> (secondary) | 0.9% | [0.9%, 1.0%] | 6 | |
| 29 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 30 | +| Improvements ✅ <br /> (secondary) | - | - | 0 | |
| 31 | +| All ❌✅ (primary) | - | - | 0 | |
| 32 | + |
| 33 | +match-stress noise, triaged by @lqd in [PR comment](https://github.com/rust-lang/rust/pull/144393#issuecomment-3134946709) |
| 34 | + |
| 35 | +uniquify root goals during HIR typeck [#144405](https://github.com/rust-lang/rust/pull/144405) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=606dcc0d2e54d260f67d8a91f8adaf797a4ed38a&end=32e7a4b92b109c24e9822c862a7c74436b50e564&stat=instructions:u) |
| 36 | + |
| 37 | +| (instructions:u) | mean | range | count | |
| 38 | +|:----------------------------------:|:----:|:------------:|:-----:| |
| 39 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 40 | +| Regressions ❌ <br /> (secondary) | 1.2% | [0.1%, 4.1%] | 14 | |
| 41 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 42 | +| Improvements ✅ <br /> (secondary) | - | - | 0 | |
| 43 | +| All ❌✅ (primary) | - | - | 0 | |
| 44 | + |
| 45 | +Regression is mostly in new solver, which is not yet enabled by default. The other one is small regression in secondary stress test, that should be fine. See also [comment by author](https://github.com/rust-lang/rust/pull/144405#issuecomment-3138919139). |
| 46 | + |
| 47 | +#### Improvements |
| 48 | + |
| 49 | +Complete span AST lowering. [#144557](https://github.com/rust-lang/rust/pull/144557) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=ac0cb05326706ef430a975aa85177e8642f2f457&end=686bc1c5f9c06762b18082434c04d514acf6707e&stat=instructions:u) |
| 50 | + |
| 51 | +| (instructions:u) | mean | range | count | |
| 52 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 53 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 54 | +| Regressions ❌ <br /> (secondary) | - | - | 0 | |
| 55 | +| Improvements ✅ <br /> (primary) | -0.7% | [-1.8%, -0.2%] | 9 | |
| 56 | +| Improvements ✅ <br /> (secondary) | - | - | 0 | |
| 57 | +| All ❌✅ (primary) | -0.7% | [-1.8%, -0.2%] | 9 | |
| 58 | + |
| 59 | + |
| 60 | +Rollup of 6 pull requests [#144718](https://github.com/rust-lang/rust/pull/144718) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=32e7a4b92b109c24e9822c862a7c74436b50e564&end=cc0a5b73053c62a3df5f84b3ee85079c9b65fa87&stat=instructions:u) |
| 61 | + |
| 62 | +| (instructions:u) | mean | range | count | |
| 63 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 64 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 65 | +| Regressions ❌ <br /> (secondary) | - | - | 0 | |
| 66 | +| Improvements ✅ <br /> (primary) | -0.5% | [-0.6%, -0.5%] | 2 | |
| 67 | +| Improvements ✅ <br /> (secondary) | -0.3% | [-1.0%, -0.1%] | 8 | |
| 68 | +| All ❌✅ (primary) | -0.5% | [-0.6%, -0.5%] | 2 | |
| 69 | + |
| 70 | + |
| 71 | +Optimize region constraints [#144446](https://github.com/rust-lang/rust/pull/144446) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=adcb3d3b4cd3b7c4cde642f3ed537037f293738e&end=6c02dd4eae83befde07dc4782395e2005055e9fa&stat=instructions:u) |
| 72 | + |
| 73 | +| (instructions:u) | mean | range | count | |
| 74 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 75 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 76 | +| Regressions ❌ <br /> (secondary) | - | - | 0 | |
| 77 | +| Improvements ✅ <br /> (primary) | -0.1% | [-0.1%, -0.1%] | 2 | |
| 78 | +| Improvements ✅ <br /> (secondary) | -0.5% | [-1.0%, -0.3%] | 12 | |
| 79 | +| All ❌✅ (primary) | -0.1% | [-0.1%, -0.1%] | 2 | |
| 80 | + |
| 81 | + |
| 82 | +dont assemble shadowed impl candidates [#144732](https://github.com/rust-lang/rust/pull/144732) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=7cd950546b4ce68843b4cbdb1ab3a43776202d3a&end=f34ba774c78ea32b7c40598b8ad23e75cdac42a6&stat=instructions:u) |
| 83 | + |
| 84 | +| (instructions:u) | mean | range | count | |
| 85 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 86 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 87 | +| Regressions ❌ <br /> (secondary) | - | - | 0 | |
| 88 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 89 | +| Improvements ✅ <br /> (secondary) | -1.3% | [-2.9%, -0.1%] | 7 | |
| 90 | +| All ❌✅ (primary) | - | - | 0 | |
| 91 | + |
| 92 | + |
| 93 | +#### Mixed |
| 94 | + |
| 95 | +Rollup of 6 pull requests [#144637](https://github.com/rust-lang/rust/pull/144637) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=7278554d82fa474a4e8b5c67afb009e11e41a841&end=ac0cb05326706ef430a975aa85177e8642f2f457&stat=instructions:u) |
| 96 | + |
| 97 | +| (instructions:u) | mean | range | count | |
| 98 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 99 | +| Regressions ❌ <br /> (primary) | 1.1% | [1.1%, 1.1%] | 1 | |
| 100 | +| Regressions ❌ <br /> (secondary) | - | - | 0 | |
| 101 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 102 | +| Improvements ✅ <br /> (secondary) | -0.1% | [-0.1%, -0.1%] | 1 | |
| 103 | +| All ❌✅ (primary) | 1.1% | [1.1%, 1.1%] | 1 | |
| 104 | + |
| 105 | + |
| 106 | +Looks like a spurious change in `image` to me. Erases gain from https://github.com/rust-lang/rust/pull/144543, which was indentified as codegen unit perturbation in https://github.com/rust-lang/rust/pull/144543#issuecomment-3124957313, but this PR goes even furhter, only to return back to previous state in https://github.com/rust-lang/rust/pull/144718 |
| 107 | + |
| 108 | +All these changes are in the backend part of the breakdown graph, so this truly seems like spurious codegen unit shuffling. |
| 109 | + |
| 110 | +Rollup of 4 pull requests [#144692](https://github.com/rust-lang/rust/pull/144692) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=e5e79f8bd428d0b8d26e8240d718b134ef297459&end=3048886e59c94470e726ecaaf2add7242510ac11&stat=instructions:u) |
| 111 | + |
| 112 | +| (instructions:u) | mean | range | count | |
| 113 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 114 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 115 | +| Regressions ❌ <br /> (secondary) | 0.9% | [0.9%, 1.0%] | 6 | |
| 116 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 117 | +| Improvements ✅ <br /> (secondary) | -0.2% | [-0.2%, -0.1%] | 4 | |
| 118 | +| All ❌✅ (primary) | - | - | 0 | |
| 119 | + |
| 120 | +Regression in `match-stress` is a bimodal noise. |
| 121 | + |
| 122 | +Remove eval_always from check_private_in_public. [#116316](https://github.com/rust-lang/rust/pull/116316) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=3048886e59c94470e726ecaaf2add7242510ac11&end=606dcc0d2e54d260f67d8a91f8adaf797a4ed38a&stat=instructions:u) |
| 123 | + |
| 124 | +| (instructions:u) | mean | range | count | |
| 125 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 126 | +| Regressions ❌ <br /> (primary) | 0.5% | [0.1%, 2.1%] | 40 | |
| 127 | +| Regressions ❌ <br /> (secondary) | 0.3% | [0.1%, 0.5%] | 20 | |
| 128 | +| Improvements ✅ <br /> (primary) | -0.7% | [-2.8%, -0.2%] | 41 | |
| 129 | +| Improvements ✅ <br /> (secondary) | -0.6% | [-1.3%, -0.2%] | 26 | |
| 130 | +| All ❌✅ (primary) | -0.1% | [-2.8%, 2.1%] | 81 | |
| 131 | + |
| 132 | +Regressions outweigh improvements. Also, as per the reviewer comment, incr-patched regressions are eliminated in https://github.com/rust-lang/rust/pull/144479. |
| 133 | + |
| 134 | +Rollup of 7 pull requests [#144768](https://github.com/rust-lang/rust/pull/144768) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=6c02dd4eae83befde07dc4782395e2005055e9fa&end=e3ee7f7aea5b45af3b42b5e4713da43876a65ac9&stat=instructions:u) |
| 135 | + |
| 136 | +| (instructions:u) | mean | range | count | |
| 137 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 138 | +| Regressions ❌ <br /> (primary) | 0.4% | [0.2%, 0.7%] | 12 | |
| 139 | +| Regressions ❌ <br /> (secondary) | 0.2% | [0.2%, 0.2%] | 1 | |
| 140 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 141 | +| Improvements ✅ <br /> (secondary) | -0.1% | [-0.1%, -0.1%] | 1 | |
| 142 | +| All ❌✅ (primary) | 0.4% | [0.2%, 0.7%] | 12 | |
| 143 | + |
| 144 | +doc regression on various benchmarks. Based on detailed results, it's in the def_kind query, so it's likely [#143849](https://github.com/rust-lang/rust/pull/143849), because it adds a callsite. Other PRs look mostly unrelated (few triagebot and config changes, confusables improvement, minor rustdoc-json change). |
| 145 | + |
| 146 | +Remove the witness type from coroutine *args* (without actually removing the type) [#144458](https://github.com/rust-lang/rust/pull/144458) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=4b55fe199cfe9c710555a5af7f2a49491ad38254&end=63f6845e570305a92eaf855897768617366164d6&stat=instructions:u) |
| 147 | + |
| 148 | +| (instructions:u) | mean | range | count | |
| 149 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 150 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 151 | +| Regressions ❌ <br /> (secondary) | 0.0% | [0.0%, 0.0%] | 1 | |
| 152 | +| Improvements ✅ <br /> (primary) | -1.5% | [-1.5%, -1.5%] | 1 | |
| 153 | +| Improvements ✅ <br /> (secondary) | -0.5% | [-1.5%, -0.0%] | 5 | |
| 154 | +| All ❌✅ (primary) | -1.5% | [-1.5%, -1.5%] | 1 | |
| 155 | + |
| 156 | +`include-blobs` regression looks like noise, just returned to previous state. |
| 157 | + |
| 158 | +Perform check_private_in_public by module. [#144479](https://github.com/rust-lang/rust/pull/144479) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=63f6845e570305a92eaf855897768617366164d6&end=c23f07d8c56c51b5e634bda55daca2b073306340&stat=instructions:u) |
| 159 | + |
| 160 | +| (instructions:u) | mean | range | count | |
| 161 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 162 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 163 | +| Regressions ❌ <br /> (secondary) | 0.4% | [0.0%, 0.5%] | 3 | |
| 164 | +| Improvements ✅ <br /> (primary) | -0.7% | [-1.1%, -0.2%] | 27 | |
| 165 | +| Improvements ✅ <br /> (secondary) | -0.5% | [-0.6%, -0.1%] | 4 | |
| 166 | +| All ❌✅ (primary) | -0.7% | [-1.1%, -0.2%] | 27 | |
| 167 | + |
| 168 | +Improvements outweigh regressions. Addresses some regressions from https://github.com/rust-lang/rust/pull/116316 (triaged above). `include-blob` regression is noise, `externs` is probably real, but the benchmark is very artificial. |
| 169 | + |
| 170 | +Use less HIR to compute effective visibility. [#144554](https://github.com/rust-lang/rust/pull/144554) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=889701db1ff614160314734fe4138c2f820a95bb&end=6d091b2baa33698682453c7bb72809554204e434&stat=instructions:u) |
| 171 | + |
| 172 | +| (instructions:u) | mean | range | count | |
| 173 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 174 | +| Regressions ❌ <br /> (primary) | 0.2% | [0.2%, 0.3%] | 6 | |
| 175 | +| Regressions ❌ <br /> (secondary) | 0.3% | [0.1%, 0.5%] | 7 | |
| 176 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 177 | +| Improvements ✅ <br /> (secondary) | -0.1% | [-0.2%, -0.1%] | 5 | |
| 178 | +| All ❌✅ (primary) | 0.2% | [0.2%, 0.3%] | 6 | |
| 179 | + |
| 180 | +Some small regressions on `incr-unchanged` scenarios. Looks like the post-merge results are worse then the pre-merge ones. Pinged the author to confirm if it's ok. |
| 181 | + |
| 182 | +expand WF obligations when checking method calls [#144704](https://github.com/rust-lang/rust/pull/144704) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=da19b9d24c4ed900b91b45ec7f7795ec43613b1e&end=7cd950546b4ce68843b4cbdb1ab3a43776202d3a&stat=instructions:u) |
| 183 | + |
| 184 | +| (instructions:u) | mean | range | count | |
| 185 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 186 | +| Regressions ❌ <br /> (primary) | 0.4% | [0.3%, 0.4%] | 3 | |
| 187 | +| Regressions ❌ <br /> (secondary) | 0.6% | [0.2%, 1.1%] | 12 | |
| 188 | +| Improvements ✅ <br /> (primary) | -0.2% | [-0.4%, -0.2%] | 19 | |
| 189 | +| Improvements ✅ <br /> (secondary) | -1.2% | [-8.1%, -0.2%] | 32 | |
| 190 | +| All ❌✅ (primary) | -0.2% | [-0.4%, 0.4%] | 22 | |
| 191 | + |
| 192 | +Perf improvements greatly outweigh regressions. Already triaged by @nnethercote. |
| 193 | + |
| 194 | +Rollup of 12 pull requests [#144869](https://github.com/rust-lang/rust/pull/144869) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=f34ba774c78ea32b7c40598b8ad23e75cdac42a6&end=383b9c447b61641e1f1a3850253944a897a60827&stat=instructions:u) |
| 195 | + |
| 196 | +| (instructions:u) | mean | range | count | |
| 197 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 198 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 199 | +| Regressions ❌ <br /> (secondary) | 0.1% | [0.1%, 0.1%] | 2 | |
| 200 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 201 | +| Improvements ✅ <br /> (secondary) | -0.8% | [-1.0%, -0.0%] | 7 | |
| 202 | +| All ❌✅ (primary) | - | - | 0 | |
| 203 | + |
| 204 | +`include-blob` regression looks like noise (returning to some baseline state). |
| 205 | + |
| 206 | +Rollup of 12 pull requests [#144876](https://github.com/rust-lang/rust/pull/144876) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=383b9c447b61641e1f1a3850253944a897a60827&end=07b7dc90ee4df5815dbb91ef8e98cb93571230f5&stat=instructions:u) |
| 207 | + |
| 208 | +| (instructions:u) | mean | range | count | |
| 209 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 210 | +| Regressions ❌ <br /> (primary) | 0.5% | [0.5%, 0.5%] | 1 | |
| 211 | +| Regressions ❌ <br /> (secondary) | 0.9% | [0.9%, 1.0%] | 6 | |
| 212 | +| Improvements ✅ <br /> (primary) | -0.7% | [-0.9%, -0.5%] | 2 | |
| 213 | +| Improvements ✅ <br /> (secondary) | - | - | 0 | |
| 214 | +| All ❌✅ (primary) | -0.3% | [-0.9%, 0.5%] | 3 | |
| 215 | + |
| 216 | + |
| 217 | +`match-stress` is bimodal noise. `image` looks like a similar kind of perturbation like happened in https://github.com/rust-lang/rust/pull/144543, https://github.com/rust-lang/rust/pull/144637 and https://github.com/rust-lang/rust/pull/144718, probably caused by codegen unit scheduling change, but this time it doesn't have as large backend wall time change. The changes are still in LLVM though, based on detailed results. We'll see whether it comes back. I don't think this is worth more investigation. |
| 218 | + |
0 commit comments