|
| 1 | +# 2024-08-19 Triage Log |
| 2 | + |
| 3 | +A fairly noisy week (though most of that has been dropped from this report). |
| 4 | +Overall we saw several improvements, and ended the week on a net positive. |
| 5 | +Memory usage is done around 1.5-3% over the course of the week, primarily due |
| 6 | +to [RawVec polymorphization](https://github.com/rust-lang/rust/pull/126793) and |
| 7 | +[CloneToUninit impl expansion](https://github.com/rust-lang/rust/pull/126877). |
| 8 | + |
| 9 | +Triage done by **@simulacrum**. |
| 10 | +Revision range: [9cb1998e..4fe1e2bd](https://perf.rust-lang.org/?start=9cb1998ea15e179482504e07cad8fa121e169a32&end=4fe1e2bd5bf5a6f1cb245f161a5e9d315766f103&absolute=false&stat=instructions%3Au) |
| 11 | + |
| 12 | +**Summary**: |
| 13 | + |
| 14 | +| (instructions:u) | mean | range | count | |
| 15 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 16 | +| Regressions ❌ <br /> (primary) | 0.4% | [0.2%, 1.7%] | 124 | |
| 17 | +| Regressions ❌ <br /> (secondary) | 0.5% | [0.1%, 1.4%] | 103 | |
| 18 | +| Improvements ✅ <br /> (primary) | -1.3% | [-4.3%, -0.2%] | 50 | |
| 19 | +| Improvements ✅ <br /> (secondary) | -1.4% | [-3.3%, -0.2%] | 15 | |
| 20 | +| All ❌✅ (primary) | -0.1% | [-4.3%, 1.7%] | 174 | |
| 21 | + |
| 22 | +1 Regressions, 1 Improvements, 3 Mixed; 1 of them in rollups |
| 23 | +53 artifact comparisons made in total |
| 24 | + |
| 25 | +#### Regressions |
| 26 | + |
| 27 | +Fix problems with assoc expr token collection [#128725](https://github.com/rust-lang/rust/pull/128725) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=4b7d074d766d00a32fa8b2e4fa3813dd7d4d64e6&end=be0ea0c99a00bc365d9f80f1c90f747967a2e152&stat=instructions:u) |
| 28 | + |
| 29 | +| (instructions:u) | mean | range | count | |
| 30 | +|:----------------------------------:|:----:|:------------:|:-----:| |
| 31 | +| Regressions ❌ <br /> (primary) | 0.3% | [0.2%, 0.3%] | 5 | |
| 32 | +| Regressions ❌ <br /> (secondary) | 0.3% | [0.2%, 0.5%] | 5 | |
| 33 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 34 | +| Improvements ✅ <br /> (secondary) | - | - | 0 | |
| 35 | +| All ❌✅ (primary) | 0.3% | [0.2%, 0.3%] | 5 | |
| 36 | + |
| 37 | +Appears to be a real change in behavior (pre-merge showed fewer regressions) |
| 38 | +but this is a correctness fix, so accepting them. |
| 39 | + |
| 40 | +#### Improvements |
| 41 | + |
| 42 | +Rework MIR inlining debuginfo so function parameters show up in debuggers. [#128861](https://github.com/rust-lang/rust/pull/128861) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=026e9ed3f0c5b3ee6233fd23b5e497cb94cf6434&end=3139ff09e9d07f7700f8d15ed25a231e29c43627&stat=instructions:u) |
| 43 | + |
| 44 | +| (instructions:u) | mean | range | count | |
| 45 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 46 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 47 | +| Regressions ❌ <br /> (secondary) | 2.3% | [2.3%, 2.3%] | 1 | |
| 48 | +| Improvements ✅ <br /> (primary) | -1.2% | [-1.4%, -1.1%] | 6 | |
| 49 | +| Improvements ✅ <br /> (secondary) | -1.2% | [-1.3%, -1.2%] | 2 | |
| 50 | +| All ❌✅ (primary) | -1.2% | [-1.4%, -1.1%] | 6 | |
| 51 | + |
| 52 | +An improvement on many current benchmarks; the one regression is a spurious change. |
| 53 | + |
| 54 | +#### Mixed |
| 55 | + |
| 56 | +Apply "polymorphization at home" to RawVec [#126793](https://github.com/rust-lang/rust/pull/126793) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=41dd149fd6a6a06795fc6b9f54cb49af2f61775f&end=13f8a57cfb57d527abe797230beabb64758bb888&stat=instructions:u) |
| 57 | + |
| 58 | +| (instructions:u) | mean | range | count | |
| 59 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 60 | +| Regressions ❌ <br /> (primary) | 0.5% | [0.2%, 1.5%] | 89 | |
| 61 | +| Regressions ❌ <br /> (secondary) | 0.4% | [0.1%, 1.3%] | 96 | |
| 62 | +| Improvements ✅ <br /> (primary) | -1.1% | [-3.8%, -0.2%] | 54 | |
| 63 | +| Improvements ✅ <br /> (secondary) | -1.2% | [-2.9%, -0.3%] | 13 | |
| 64 | +| All ❌✅ (primary) | -0.1% | [-3.8%, 1.5%] | 143 | |
| 65 | + |
| 66 | +An improvement on many current benchmarks, though some regressions. Overall a |
| 67 | +net positive. Also reduced memory usage by about 1% for many of our benchmarks, |
| 68 | +which is a great win! |
| 69 | + |
| 70 | +Support reading thin archives in ArArchiveBuilder [#128936](https://github.com/rust-lang/rust/pull/128936) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=3139ff09e9d07f7700f8d15ed25a231e29c43627&end=d2b5aa6552c8acf67f38a2ad92062a32ec542f08&stat=instructions:u) |
| 71 | + |
| 72 | +| (instructions:u) | mean | range | count | |
| 73 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 74 | +| Regressions ❌ <br /> (primary) | 0.3% | [0.2%, 0.4%] | 14 | |
| 75 | +| Regressions ❌ <br /> (secondary) | 0.4% | [0.4%, 0.4%] | 1 | |
| 76 | +| Improvements ✅ <br /> (primary) | - | - | 0 | |
| 77 | +| Improvements ✅ <br /> (secondary) | -2.3% | [-2.3%, -2.3%] | 1 | |
| 78 | +| All ❌✅ (primary) | 0.3% | [0.2%, 0.4%] | 14 | |
| 79 | + |
| 80 | +Regressions looks genuine, though relatively rare in our benchmark suite. It |
| 81 | +might be worth doing some profiling of the Rust archive writer to see if |
| 82 | +there's opportunities for optimization since it presumably hasn't received much |
| 83 | +attention so far. |
| 84 | + |
| 85 | +Rollup of 6 pull requests [#129202](https://github.com/rust-lang/rust/pull/129202) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=9b318d2e93ce35e7ba32d8cfa96a1dbe63a7bed1&end=0f26ee4fd95a1c046582dfb18892f520788e2c2c&stat=instructions:u) |
| 86 | + |
| 87 | +| (instructions:u) | mean | range | count | |
| 88 | +|:----------------------------------:|:-----:|:--------------:|:-----:| |
| 89 | +| Regressions ❌ <br /> (primary) | - | - | 0 | |
| 90 | +| Regressions ❌ <br /> (secondary) | 0.6% | [0.1%, 2.2%] | 5 | |
| 91 | +| Improvements ✅ <br /> (primary) | -0.9% | [-1.7%, -0.3%] | 4 | |
| 92 | +| Improvements ✅ <br /> (secondary) | -1.4% | [-2.2%, -0.6%] | 2 | |
| 93 | +| All ❌✅ (primary) | -0.9% | [-1.7%, -0.3%] | 4 | |
| 94 | + |
| 95 | +Regression on match-stress looks genuine but likely doesn't merit deeper |
| 96 | +investigation given that this is in a rollup (and I don't see obvious |
| 97 | +match-stress-implicating PRs in the list). |
0 commit comments