Skip to content

Commit 2d07a60

Browse files
Merge pull request #963 from pnkfelix/triage-2021-08-11
perf triage for 2021-08-11.
2 parents 555043f + 0b2fade commit 2d07a60

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

triage/2021-08-11.md

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# 2021-08-11 Triage Log
2+
3+
A quiet week for performance. Changes, both positive and negative, tended to be isolated to few benchmarks.
4+
5+
Triage done by **@pnkfelix**.
6+
Revision range: [3354a44d2fa8d5ba6b8d6b40d2596de2c8292ec1..6b20506d17f4e5e5bf5bcad7e94add4d754b0ae3](https://perf.rust-lang.org/?start=3354a44d2fa8d5ba6b8d6b40d2596de2c8292ec1&end=6b20506d17f4e5e5bf5bcad7e94add4d754b0ae3&absolute=false&stat=instructions%3Au)
7+
8+
2 Regressions, 1 Improvements, 0 Mixed; 0 of them in rollups
9+
10+
#### Regressions
11+
12+
Use zeroed allocations in the mir interpreter instead eagerly touching the memory [#87777](https://github.com/rust-lang/rust/issues/87777)
13+
- Moderate regression in [instruction counts](https://perf.rust-lang.org/compare.html?start=1f94abcda6884893d4723304102089198caa0839&end=4c29cc8fd09889880880cb6081174c79744ab1b6&stat=instructions:u) (up to 1.7% on `incr-unchanged` builds of `ctfe-stress-4-check`)
14+
- The motivation for this PR was to reduce the number of page faults, for the same family of ctfe-stress-4 benchmarks.
15+
- So, perf runs were done on the PR itself, to illustrate the motivated change.
16+
- The number of page faults [did decrease (by up to 25%)](https://perf.rust-lang.org/compare.html?start=1f94abcda6884893d4723304102089198caa0839&end=4c29cc8fd09889880880cb6081174c79744ab1b6&stat=faults).
17+
- The regression with respect to instruction counts appears isolated to just the ctfe-stress-4 family; the page fault reduction outweighs instruction count hit.
18+
- (Unfortunately the page fault decrease did not yield a corresponding improvement to reported wall-clock or task-clock times.)
19+
20+
Hide allocator details from TryReserveError [#87408](https://github.com/rust-lang/rust/issues/87408)
21+
- Moderate regression in [instruction counts](https://perf.rust-lang.org/compare.html?start=db3cb435c1197ef3e3919c03b7f81ca8bffbd007&end=996ff2e0a0f911f52bb1de6bdd0cfd5704de1fc9&stat=instructions:u) (up to 4.2% on `full` builds of `html5ever-opt`)
22+
- The regression with respect to instruction counts appears isolated to just the html5ever-opt benchmark; all other reported changes pale in significance.
23+
- Potentially significant: the max-rss for html5ever-opt also regressed here, by 8%.
24+
- (Skimming over the PR itself, I do not see any obvious reason for this significant of a regression to max-rss.)
25+
- Some other benchmarks also regressed with respect to max-rss, but none so significantly.
26+
- Left a [comment on the PR](https://github.com/rust-lang/rust/pull/87408#issuecomment-896924754) as a heads up.
27+
28+
#### Improvements
29+
30+
#[inline] slice::Iter::advance_by [#87736](https://github.com/rust-lang/rust/issues/87736)
31+
- Moderate improvement in [instruction counts](https://perf.rust-lang.org/compare.html?start=7f3dc0464422ebadf3b8647f591bcf6e3107e805&end=6fe0886723c9e08b800c9951f1c6f6a57b2bf22c&stat=instructions:u) (up to -1.7% on `full` builds of `regex-opt`)
32+
- This was put in to address the regression previously injected by [PR #87387](https://github.com/rust-lang/rust/pull/87387).
33+
34+
#### Mixed
35+
36+
37+
38+
#### Untriaged Pull Requests
39+
40+
- [#87640 Rollup of 9 pull requests](https://github.com/rust-lang/rust/pull/87640)
41+
- [#87587 Various refactorings of the TAIT infrastructure](https://github.com/rust-lang/rust/pull/87587)
42+
- [#87244 Better diagnostics with mismatched types due to implicit static lifetime](https://github.com/rust-lang/rust/pull/87244)
43+
- [#86777 Include terminators in instance size estimate](https://github.com/rust-lang/rust/pull/86777)
44+
- [#86698 Move OnDiskCache to rustc_query_impl.](https://github.com/rust-lang/rust/pull/86698)
45+
- [#86588 Rollup of 8 pull requests](https://github.com/rust-lang/rust/pull/86588)
46+
- [#86034 Change entry point to 🛡️ against 💥 💥-payloads](https://github.com/rust-lang/rust/pull/86034)
47+
- [#84560 Inline Iterator as IntoIterator.](https://github.com/rust-lang/rust/pull/84560)

0 commit comments

Comments
 (0)