Skip to content

Commit 6b0c8f7

Browse files
authored
Merge pull request #1906 from Kobzol/triage-2024-05-14
Triage 2024 05 14
2 parents 90415c8 + 0ab8cfe commit 6b0c8f7

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

triage/2024-05-14.md

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# 2024-05-14 Triage Log
2+
3+
A pretty quiet week with only a few PRs being flagged for analysis.
4+
More improvements than regressions this week, and also several nice
5+
binary size reductions caused by generating less LLVM IR.
6+
7+
Triage done by **@kobzol**.
8+
Revision range: [69f53f5e..9105c57b](https://perf.rust-lang.org/?start=69f53f5e5583381267298ac182eb02c7f1b5c1cd&end=9105c57b7f6623310e33f3ee7e48a3114e5190a7&absolute=false&stat=instructions%3Au)
9+
10+
**Summary**:
11+
12+
| (instructions:u) | mean | range | count |
13+
|:----------------------------------:|:-----:|:--------------:|:-----:|
14+
| Regressions ❌ <br /> (primary) | 0.4% | [0.2%, 0.9%] | 8 |
15+
| Regressions ❌ <br /> (secondary) | 0.9% | [0.2%, 2.4%] | 18 |
16+
| Improvements ✅ <br /> (primary) | -1.1% | [-2.3%, -0.2%] | 51 |
17+
| Improvements ✅ <br /> (secondary) | -0.6% | [-1.4%, -0.3%] | 19 |
18+
| All ❌✅ (primary) | -0.9% | [-2.3%, 0.9%] | 59 |
19+
20+
21+
1 Regression, 0 Improvements, 3 Mixed; 0 of them in rollups
22+
75 artifact comparisons made in total
23+
24+
#### Regressions
25+
26+
Do not add leading asterisk in the `PartialEq` [#124157](https://github.com/rust-lang/rust/pull/124157) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=5f8c17dcc04a2981268df89874203e9bfea50597&end=cb93c24bf36b3367714516fc2308cf6856916eeb&stat=instructions:u)
27+
28+
| (instructions:u) | mean | range | count |
29+
|:----------------------------------:|:----:|:------------:|:-----:|
30+
| Regressions ❌ <br /> (primary) | 0.3% | [0.2%, 0.5%] | 9 |
31+
| Regressions ❌ <br /> (secondary) | 0.4% | [0.3%, 0.8%] | 9 |
32+
| Improvements ✅ <br /> (primary) | - | - | 0 |
33+
| Improvements ✅ <br /> (secondary) | - | - | 0 |
34+
| All ❌✅ (primary) | 0.3% | [0.2%, 0.5%] | 9 |
35+
36+
* Small regression on a few benchmarks caused by a change in code generation of `#[derive(PartialEq)]`,
37+
which leads to more valid code being allowed to compile.
38+
* Marked as triaged.
39+
40+
#### Mixed
41+
42+
Avoid a cast in `ptr::slice_from_raw_parts(_mut)` [#124795](https://github.com/rust-lang/rust/pull/124795) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=c3202afa2865ad26ef407544c3768070bfed7bfe&end=ec1b69852f0c24ae833a74303800db2229b6653e&stat=instructions:u)
43+
44+
| (instructions:u) | mean | range | count |
45+
|:----------------------------------:|:-----:|:--------------:|:-----:|
46+
| Regressions ❌ <br /> (primary) | 0.3% | [0.3%, 0.3%] | 1 |
47+
| Regressions ❌ <br /> (secondary) | - | - | 0 |
48+
| Improvements ✅ <br /> (primary) | -0.4% | [-0.6%, -0.3%] | 6 |
49+
| Improvements ✅ <br /> (secondary) | -0.3% | [-0.4%, -0.2%] | 16 |
50+
| All ❌✅ (primary) | -0.3% | [-0.6%, 0.3%] | 7 |
51+
52+
* A single tiny regression outweighed by several performance wins.
53+
* This PR also reduced binary size nicely.
54+
55+
Avoid `alloca`s in codegen for simple `mir::Aggregate` statements [#123886](https://github.com/rust-lang/rust/pull/123886) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=2cce0885840cd171cb3a8677af795d0abd2dc77c&end=6e1d94708a0a4a35ca7e46c6cac98adf62fe800e&stat=instructions:u)
56+
57+
| (instructions:u) | mean | range | count |
58+
|:----------------------------------:|:-----:|:--------------:|:-----:|
59+
| Regressions ❌ <br /> (primary) | 0.2% | [0.2%, 0.3%] | 6 |
60+
| Regressions ❌ <br /> (secondary) | 0.5% | [0.2%, 1.3%] | 4 |
61+
| Improvements ✅ <br /> (primary) | -0.6% | [-1.0%, -0.3%] | 6 |
62+
| Improvements ✅ <br /> (secondary) | -0.7% | [-1.1%, -0.4%] | 2 |
63+
| All ❌✅ (primary) | -0.2% | [-1.0%, 0.3%] | 12 |
64+
65+
* The regression was limited to a single primary benchmark, there were more primary benchmark wins.
66+
* Also a nice binary size reduction in debug builds.
67+
68+
Remove `NtIdent` and `NtLifetime` [#124256](https://github.com/rust-lang/rust/pull/124256) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=34582118afaf00b0eb2d209a90b181c7156b501c&end=9105c57b7f6623310e33f3ee7e48a3114e5190a7&stat=instructions:u)
69+
70+
| (instructions:u) | mean | range | count |
71+
|:----------------------------------:|:-----:|:--------------:|:-----:|
72+
| Regressions ❌ <br /> (primary) | 0.2% | [0.2%, 0.2%] | 1 |
73+
| Regressions ❌ <br /> (secondary) | 1.9% | [1.2%, 2.7%] | 8 |
74+
| Improvements ✅ <br /> (primary) | -0.8% | [-2.0%, -0.1%] | 24 |
75+
| Improvements ✅ <br /> (secondary) | -0.6% | [-1.1%, -0.3%] | 9 |
76+
| All ❌✅ (primary) | -0.7% | [-2.0%, 0.2%] | 25 |
77+
78+
* Pretty much a pure performance improvement, the instruction count regression on `tt-muncher` was
79+
actually a decent win in cycle count.

0 commit comments

Comments
 (0)