Skip to content

Commit 8ed5630

Browse files
committed
rustc-perf triage for 2024-07-30.
1 parent ed4e323 commit 8ed5630

File tree

1 file changed

+40
-2
lines changed

1 file changed

+40
-2
lines changed

triage/2024-07-30.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# 2024-07-30 Triage Log
22

3-
TODO: Summary
3+
There were some notable regressions this week. Some of them are being
4+
addressed via follow-up PRs (such as the change to whitespace
5+
diagnostic reporting), and some via reverts (such as the dead code
6+
analysis that tried to flag pub structs without pub constructors). A
7+
few regressions have not yet been addressed. See report for details.
48

5-
Triage done by **@???**.
9+
Triage done by **@pnkfelix**.
610
Revision range: [9629b90b..7e3a9718](https://perf.rust-lang.org/?start=9629b90b3f7dd8f5626ec9d3b42556f39f09e214&end=7e3a971870f23c94f7aceb53b490fb37333150ff&absolute=false&stat=instructions%3Au)
711

812
**Summary**:
@@ -31,6 +35,9 @@ Do not use global caches if opaque types can be defined [#126024](https://github
3135
| Improvements ✅ <br /> (secondary) | - | - | 0 |
3236
| All ❌✅ (primary) | 3.4% | [1.6%, 5.5%] | 6 |
3337

38+
* This PR says it is fixing a soundness problem. (Its not clear to me if the wrong issue was linked; the linked one is an ICE that was not actually resolved.)
39+
* All six of the regressions are to hyper: {check,debug,opt} x {incr-full, full}.
40+
* we probably should just accept this cost
3441

3542
Rollup of 5 pull requests [#128169](https://github.com/rust-lang/rust/pull/128169) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=e7d66eac5e8e8f60370c98d186aee9fa0ebd7845&end=004e155c46a2083d4f73212cc47a6f7fb98fcbd1&stat=instructions:u)
3643

@@ -42,6 +49,9 @@ Rollup of 5 pull requests [#128169](https://github.com/rust-lang/rust/pull/12816
4249
| Improvements ✅ <br /> (secondary) | - | - | 0 |
4350
| All ❌✅ (primary) | 0.9% | [0.2%, 3.0%] | 26 |
4451

52+
* the bulk of the regressions are to syn (i.e. 8 out of the 9 that are > 1%).
53+
* this was due to a change in how diagnostics handle certain "whitespace" characters (PR #127528); there is a revert proposed in PR #128179, but there is also a PR to address the issue itself as a followup in PR #128200
54+
* not marking as triaged until either PR #128179 or PR #128200 is landed.
4555

4656
Rollup of 7 pull requests [#128186](https://github.com/rust-lang/rust/pull/128186) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=54be9ad5eb47207d155904f6c912a9526133f75f&end=eb10639928a2781cf0a12440007fbcc1e3a6888f&stat=instructions:u)
4757

@@ -53,6 +63,7 @@ Rollup of 7 pull requests [#128186](https://github.com/rust-lang/rust/pull/12818
5363
| Improvements ✅ <br /> (secondary) | - | - | 0 |
5464
| All ❌✅ (primary) | 0.3% | [0.2%, 0.5%] | 11 |
5565

66+
* already marked as triaged
5667

5768
Rollup of 9 pull requests [#128253](https://github.com/rust-lang/rust/pull/128253) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=7c2012d0ec3aae89fefc40e5d6b317a0949cda36&end=8b6b8574f6f2fcc71ec500a52d7bf74fdaff0ed6&stat=instructions:u)
5869

@@ -64,6 +75,9 @@ Rollup of 9 pull requests [#128253](https://github.com/rust-lang/rust/pull/12825
6475
| Improvements ✅ <br /> (secondary) | - | - | 0 |
6576
| All ❌✅ (primary) | 0.5% | [0.4%, 0.5%] | 3 |
6677

78+
* regressed incr-full for bitmaps-{check,opt} and typenum-check
79+
* seems like noise from the graph over time; marking as triaged.
80+
6781

6882
Document 0x10.checked_shl(BITS - 1) does not overflow [#128255](https://github.com/rust-lang/rust/pull/128255) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=a526d7ce45fd2284e0e7c7556ccba2425b9d25e5&end=ad3c5a330173a4a6446c1ed90c72a3f5f9106888&stat=instructions:u)
6983

@@ -75,6 +89,7 @@ Document 0x10.checked_shl(BITS - 1) does not overflow [#128255](https://github.c
7589
| Improvements ✅ <br /> (secondary) | - | - | 0 |
7690
| All ❌✅ (primary) | 0.5% | [0.5%, 0.6%] | 4 |
7791

92+
* noise, already marked as triaged
7893

7994
#### Improvements
8095

@@ -110,6 +125,7 @@ Rollup of 6 pull requests [#128195](https://github.com/rust-lang/rust/pull/12819
110125
| Improvements ✅ <br /> (secondary) | - | - | 0 |
111126
| All ❌✅ (primary) | -0.4% | [-0.5%, -0.4%] | 5 |
112127

128+
* (just noise I think)
113129

114130
Switch from `derivative` to `derive-where` [#127042](https://github.com/rust-lang/rust/pull/127042) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=7120fdac7a6e55a5e4b606256042890b36067052&end=2f26b2a99ab976c43d12cf57ef4a3a2c82ede286&stat=instructions:u)
115131

@@ -132,6 +148,7 @@ Always set `result` during `finish()` in debug builders [#127946](https://github
132148
| Improvements ✅ <br /> (secondary) | - | - | 0 |
133149
| All ❌✅ (primary) | -0.5% | [-0.6%, -0.5%] | 6 |
134150

151+
* (just noise I think)
135152

136153
Rollup of 6 pull requests [#128313](https://github.com/rust-lang/rust/pull/128313) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=188ddf4d6a694fa263c2ff8be8f8eade659599d6&end=2cbbe8b8bb2be672b14cf741a2f0ec24a49f3f0b&stat=instructions:u)
137154

@@ -156,6 +173,8 @@ Try to fix ICE from re-interning an AllocId with different allocation contents [
156173
| Improvements ✅ <br /> (secondary) | -0.7% | [-1.4%, -0.3%] | 7 |
157174
| All ❌✅ (primary) | - | - | 0 |
158175

176+
* the regressions are to secondary benchmarks and this is fixing a subtle ICE that arises from a race condition (and may actually represent a chance of miscompilation, maybe?)
177+
* marked as triaged
159178

160179
Rollup of 8 pull requests [#128155](https://github.com/rust-lang/rust/pull/128155) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=c1a6199e9d92bb785c17a6d7ffd8b8b552f79c10&end=e7d66eac5e8e8f60370c98d186aee9fa0ebd7845&stat=instructions:u)
161180

@@ -167,6 +186,9 @@ Rollup of 8 pull requests [#128155](https://github.com/rust-lang/rust/pull/12815
167186
| Improvements ✅ <br /> (secondary) | - | - | 0 |
168187
| All ❌✅ (primary) | 0.1% | [-0.6%, 0.8%] | 10 |
169188

189+
* regressions are to hyper and exa. Mostly in hyper check-full, check-incr-full, and debug-incr-full.
190+
* bulk of time might be from spike in time spent in `mir_const_qualif` query ?
191+
* not marking as triaged, (though it is, to be clear, a relatively minor regression).
170192

171193
Allow optimizing `u32::from::<char>`. [#124905](https://github.com/rust-lang/rust/pull/124905) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=ad3c5a330173a4a6446c1ed90c72a3f5f9106888&end=3942254d00bf95cd5920980f85ebea57a1e6ce2a&stat=instructions:u)
172194

@@ -179,6 +201,10 @@ Allow optimizing `u32::from::<char>`. [#124905](https://github.com/rust-lang/rus
179201
| All ❌✅ (primary) | 0.1% | [-0.2%, 0.3%] | 5 |
180202

181203

204+
* regressions are to image opt {full, incr-full}, cargo opt {full, incr-full}, and syn opt incr-unchanged
205+
* It appears that its due to extra time spent in LLVM opt, especially lto optimize, which makes sense given that this is meant to be enabling LLVM to attempt more such optimizations?
206+
* marked as triaged.
207+
182208
Rollup of 3 pull requests [#128301](https://github.com/rust-lang/rust/pull/128301) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=1b51d80027919563004918eaadfa0d890ac0eb93&end=78c857394ec8c01f06cb1df260c51178180a40e5&stat=instructions:u)
183209

184210
| (instructions:u) | mean | range | count |
@@ -189,6 +215,9 @@ Rollup of 3 pull requests [#128301](https://github.com/rust-lang/rust/pull/12830
189215
| Improvements ✅ <br /> (secondary) | -1.6% | [-3.0%, -0.2%] | 2 |
190216
| All ❌✅ (primary) | -0.2% | [-0.3%, -0.2%] | 2 |
191217

218+
* sole regression is to secondary benchmark coercions debug-full.
219+
* seems like noise.
220+
* marked as triaged
192221

193222
Perform instsimplify before inline to eliminate some trivial calls [#128265](https://github.com/rust-lang/rust/pull/128265) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=56c698c71130de6fe55ba703a161405b6145b90e&end=4db3d12e6f395babed53dee1d209a5c8699a5ae6&stat=instructions:u)
194223

@@ -200,6 +229,9 @@ Rollup of 3 pull requests [#128301](https://github.com/rust-lang/rust/pull/12830
200229
| Improvements ✅ <br /> (secondary) | -0.3% | [-0.4%, -0.3%] | 2 |
201230
| All ❌✅ (primary) | -0.0% | [-0.8%, 2.6%] | 16 |
202231

232+
* main primary regressions are to ripgrep opt full and image opt-full
233+
* these changes were anticipated during review, seems likely result of changes to inlining decisions
234+
* marked as triaged
203235

204236
Rollup of 6 pull requests [#128360](https://github.com/rust-lang/rust/pull/128360) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=612a33f20b9b2c27380edbc4b26a01433ed114bc&end=368e2fd458a22d0cc133d0c254f2612ee999744f&stat=instructions:u)
205237

@@ -212,6 +244,12 @@ Rollup of 6 pull requests [#128360](https://github.com/rust-lang/rust/pull/12836
212244
| All ❌✅ (primary) | 0.1% | [-0.3%, 0.7%] | 8 |
213245

214246

247+
* primary regressions are to doc-full for html5ever, stm32f4, libc, and typenum
248+
* those are presumably due to PR [#126247](https://github.com/rust-lang/rust/issues/126247); pnkfelix thinks the above not worth further investigation
249+
* however, Kobzol has pointed out that the secondary regressions are significant, and has identified the root cause as PR [#128104](https://github.com/rust-lang/rust/issues/128104)
250+
* we are in any case planning to revert the changes to dead code analysis (see PR [#128404](https://github.com/rust-lang/rust/issues/128404)) which should address those regressions.
251+
* marked as triaged.
252+
215253
#### Untriaged Pull Requests
216254

217255
- [#128360 Rollup of 6 pull requests](https://github.com/rust-lang/rust/pull/128360)

0 commit comments

Comments
 (0)