Skip to content

Commit 6bf3790

Browse files
authored
Merge pull request #1444 from rylev/triage/2022-09-06
Add perf triage for 2022-09-06
2 parents 95645ee + 009b938 commit 6bf3790

File tree

1 file changed

+112
-0
lines changed

1 file changed

+112
-0
lines changed

triage/2022-09-06.md

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# 2022-09-06 Triage Log
2+
3+
A relatively quiet week where regressions unfortunately outweighed improvements. What's more, many of the regressions that were found seemed somewhat mysterious requiring some deeper investigations.
4+
5+
Triage done by **@rylev**.
6+
Revision range: [0631ea5d73..09fb0bc6e](https://perf.rust-lang.org/?start=0631ea5d73f4a3199c776687b12c20c50a91f0d2&end=09fb0bc6ecef62201d7c662db24b984d03245ac6&absolute=false&stat=instructions%3Au)
7+
8+
**Summary**:
9+
10+
| (instructions:u) | mean | range | count |
11+
|:----------------:|:----:|:-----:|:-----:|
12+
| Regressions ❌ <br /> (primary) | 0.7% | [0.2%, 4.5%] | 85 |
13+
| Regressions ❌ <br /> (secondary) | 1.0% | [0.3%, 5.4%] | 87 |
14+
| Improvements ✅ <br /> (primary) | -0.7% | [-1.0%, -0.5%] | 9 |
15+
| Improvements ✅ <br /> (secondary) | -1.4% | [-2.7%, -0.5%] | 22 |
16+
| All ❌✅ (primary) | 0.5% | [-1.0%, 4.5%] | 94 |
17+
18+
19+
2 Regressions, 3 Improvements, 2 Mixed; 3 of them in rollups
20+
40 artifact comparisons made in total
21+
22+
#### Regressions
23+
24+
Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec` [#100869](https://github.com/rust-lang/rust/pull/100869) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=b32223fec10743af93913c41ec60645d741b0cb6&end=eac6c33bc6338f40e66975dd6f65dab27765067b&stat=instructions:u)
25+
26+
| (instructions:u) | mean | range | count |
27+
|:----------------:|:----:|:-----:|:-----:|
28+
| Regressions ❌ <br /> (primary) | 0.3% | [0.2%, 0.5%] | 37 |
29+
| Regressions ❌ <br /> (secondary) | 0.5% | [0.2%, 0.9%] | 12 |
30+
| Improvements ✅ <br /> (primary) | -0.5% | [-0.6%, -0.4%] | 4 |
31+
| Improvements ✅ <br /> (secondary) | - | - | 0 |
32+
| All ❌✅ (primary) | 0.2% | [-0.6%, 0.5%] | 41 |
33+
- [Pre-merge results](https://github.com/rust-lang/rust/pull/100869#issuecomment-1230363162) looked much more performance neutral than this ended up being.
34+
- [The author is looking into](https://github.com/rust-lang/rust/pull/100869#issuecomment-1234861103) whether there are any obvious follow-ups.
35+
36+
37+
Rollup of 14 pull requests [#101295](https://github.com/rust-lang/rust/pull/101295) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=2e35f954ada0f0c777844dc4fa66684efe90a035&end=10706d62da83c4ec215165bc72df46219536648f&stat=instructions:u)
38+
39+
| (instructions:u) | mean | range | count |
40+
|:----------------:|:----:|:-----:|:-----:|
41+
| Regressions ❌ <br /> (primary) | 1.5% | [0.4%, 4.2%] | 6 |
42+
| Regressions ❌ <br /> (secondary) | - | - | 0 |
43+
| Improvements ✅ <br /> (primary) | - | - | 0 |
44+
| Improvements ✅ <br /> (secondary) | - | - | 0 |
45+
| All ❌✅ (primary) | 1.5% | [0.4%, 4.2%] | 6 |
46+
- [#101279](https://github.com/rust-lang/rust/pull/101279) is responsible for these regressions.
47+
- This was a bug fix and the [performance impact was not too surprising](https://github.com/rust-lang/rust/pull/101295#issuecomment-1235570451).
48+
49+
50+
#### Improvements
51+
52+
Rollup of 7 pull requests [#101238](https://github.com/rust-lang/rust/pull/101238) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=12e4fd0755d7d976d4ee0f2004dc938290752ff7&end=4fd4de7ea358ad6fc28c5780533ea8ccc09e1006&stat=instructions:u)
53+
54+
| (instructions:u) | mean | range | count |
55+
|:----------------:|:----:|:-----:|:-----:|
56+
| Regressions ❌ <br /> (primary) | - | - | 0 |
57+
| Regressions ❌ <br /> (secondary) | - | - | 0 |
58+
| Improvements ✅ <br /> (primary) | -0.4% | [-0.4%, -0.3%] | 3 |
59+
| Improvements ✅ <br /> (secondary) | -0.4% | [-0.4%, -0.4%] | 1 |
60+
| All ❌✅ (primary) | -0.4% | [-0.4%, -0.3%] | 3 |
61+
62+
63+
interpret: fix unnecessary allocation in validation visitor [#101154](https://github.com/rust-lang/rust/pull/101154) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=92086258e30ae59610a1b1097d97227377db0ada&end=06b72b06a2734a3997abe12dded7c19d49a18cc2&stat=instructions:u)
64+
65+
| (instructions:u) | mean | range | count |
66+
|:----------------:|:----:|:-----:|:-----:|
67+
| Regressions ❌ <br /> (primary) | - | - | 0 |
68+
| Regressions ❌ <br /> (secondary) | - | - | 0 |
69+
| Improvements ✅ <br /> (primary) | -0.5% | [-0.5%, -0.5%] | 1 |
70+
| Improvements ✅ <br /> (secondary) | -1.6% | [-3.3%, -0.6%] | 13 |
71+
| All ❌✅ (primary) | -0.5% | [-0.5%, -0.5%] | 1 |
72+
73+
74+
Revert "Remove deferred sized checks" [#100966](https://github.com/rust-lang/rust/pull/100966) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=8c6ce6b91b172f77c795a74bfeaf74b865146b3f&end=0209485578807b8084127f12d57771300edff87a&stat=instructions:u)
75+
76+
| (instructions:u) | mean | range | count |
77+
|:----------------:|:----:|:-----:|:-----:|
78+
| Regressions ❌ <br /> (primary) | - | - | 0 |
79+
| Regressions ❌ <br /> (secondary) | 0.9% | [0.6%, 2.4%] | 7 |
80+
| Improvements ✅ <br /> (primary) | -1.2% | [-1.3%, -1.1%] | 2 |
81+
| Improvements ✅ <br /> (secondary) | -1.7% | [-1.7%, -1.6%] | 2 |
82+
| All ❌✅ (primary) | -1.2% | [-1.3%, -1.1%] | 2 |
83+
- The regressions listed here are just noise.
84+
85+
86+
#### Mixed
87+
88+
Rework definition of MIR phases to more closely reflect semantic concerns [#99102](https://github.com/rust-lang/rust/pull/99102) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=02654a0844f5c8d29bac318c3c6c666da3d8543d&end=f07d6e8c0a90a6b03dcf96366d0462c7c25962bd&stat=instructions:u)
89+
90+
| (instructions:u) | mean | range | count |
91+
|:----------------:|:----:|:-----:|:-----:|
92+
| Regressions ❌ <br /> (primary) | 0.7% | [0.3%, 1.7%] | 33 |
93+
| Regressions ❌ <br /> (secondary) | 1.4% | [0.5%, 2.0%] | 11 |
94+
| Improvements ✅ <br /> (primary) | - | - | 0 |
95+
| Improvements ✅ <br /> (secondary) | -0.5% | [-0.5%, -0.5%] | 4 |
96+
| All ❌✅ (primary) | 0.7% | [0.3%, 1.7%] | 33 |
97+
- A late addition to the PR to simplify some passes has [caused the regression](https://github.com/rust-lang/rust/pull/99102#issuecomment-1232458445).
98+
- [Pinged the author](https://github.com/rust-lang/rust/pull/99102#issuecomment-1238129477) to see if there is any additional follow-up.
99+
100+
101+
Rollup of 9 pull requests [#101318](https://github.com/rust-lang/rust/pull/101318) [(Comparison Link)](https://perf.rust-lang.org/compare.html?start=e21d771b9c76056d20db310ce8655539045b3af5&end=9353538c7bea6edb245457712cec720305c4576e&stat=instructions:u)
102+
103+
| (instructions:u) | mean | range | count |
104+
|:----------------:|:----:|:-----:|:-----:|
105+
| Regressions ❌ <br /> (primary) | 0.2% | [0.2%, 0.2%] | 3 |
106+
| Regressions ❌ <br /> (secondary) | 1.0% | [0.3%, 3.9%] | 5 |
107+
| Improvements ✅ <br /> (primary) | - | - | 0 |
108+
| Improvements ✅ <br /> (secondary) | -0.8% | [-0.8%, -0.8%] | 1 |
109+
| All ❌✅ (primary) | 0.2% | [0.2%, 0.2%] | 3 |
110+
- There doesn't seem to be a clear cause so running a few of the PRs through performance runs to see what happens.
111+
112+

0 commit comments

Comments
 (0)