Skip to content

Commit 8cce85a

Browse files
committed
Perf triage, 2020-07-07.
1 parent 7d819df commit 8cce85a

File tree

2 files changed

+39
-4
lines changed

2 files changed

+39
-4
lines changed

triage/2020.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,40 @@
33
See the [README](README.md) for details on how these logs are collated. They
44
are in reverse chronological order.
55

6+
## 2020-07-07
7+
8+
Triage done by njn. Latest revision: 0c03aee8b81185d65b5821518661c30ecdb42de5.
9+
One unimportant regression, on a rollup; six improvements, two on rollups.
10+
11+
Regressions
12+
- [Rollup of 12 pull requests #74073](https://github.com/rust-lang/rust/pull/74073)
13+
([instructions](https://perf.rust-lang.org/compare.html?start=2753fab7ce3647033146b07c8b6c9f4856a910b0&end=0c03aee8b81185d65b5821518661c30ecdb42de5&stat=instructions:u)):
14+
Up to 1.9% losses, but only on the synthetic `wf-projection-stress-65510`
15+
benchmark, which doesn't matter that much.
16+
17+
Improvements
18+
- [Serialize all foreign `SourceFile`s into proc-macro crate metadata #73706](https://github.com/rust-lang/rust/pull/73706)
19+
([instructions](https://perf.rust-lang.org/compare.html?start=16957bd4d3a5377263f76ed74c572aad8e4b7e59&end=d462551a8600e57d8b6f87e71ea56868bc5da6cf&stat=instructions:u)):
20+
Up to 7.5% wins across numerous benchmarks, mostly the shorter-running ones.
21+
- [Handle inactive enum variants in `MaybeUninitializedPlaces` #73879](https://github.com/rust-lang/rust/pull/73879)
22+
([instructions](https://perf.rust-lang.org/compare.html?start=0cd7ff7ddfb75a38dca81ad3e76b1e984129e939&end=2753fab7ce3647033146b07c8b6c9f4856a910b0&stat=instructions:u)):
23+
Up to 7.1% wins across numerous benchmarks, mostly on opt builds. (Plus one
24+
21% improvement, but that benchmark has high variability.)
25+
- [Rollup of 16 pull requests #73950](https://github.com/rust-lang/rust/pull/73950)
26+
([instructions](https://perf.rust-lang.org/compare.html?start=9491f18c5de3ff1c4bf9c3fdacf52d9859e26f7c&end=b7856f695d65a8ebc846754f97d15814bcb1c244&stat=instructions:u)):
27+
Up to 1.9% wins across numerous benchmarks.
28+
- [Avoid `unwrap_or_else` in `RawVec::allocate_in`. #73882](https://github.com/rust-lang/rust/pull/73882)
29+
([instructions](https://perf.rust-lang.org/compare.html?start=5f4abc16e1b2cb035eee6a5079ce45ce924c1f33&end=cd1a46d644791c79433db934ad4e6131c577efcc&stat=instructions:u)):
30+
Up to 1.2% wins across a few benchmarks, mostly on debug builds. Maybe
31+
[#73345](https://github.com/rust-lang/rust/pull/73345) or
32+
[#73569](https://github.com/rust-lang/rust/pull/73569) is responsible?
33+
- [Remove `TypeckTables::empty(None)` and make hir_owner non-optional. #73751](https://github.com/rust-lang/rust/pull/73751)
34+
([instructions](https://perf.rust-lang.org/compare.html?start=8a6d4342be6a6acbade8e7ef65e73d27ee8c9144&end=3503f565e1fb7296983757d2716346f48a4a262b&stat=instructions:u)):
35+
Up to 3.8% wins, mostly on `unused-warnings`.
36+
- [Rollup of 17 pull requests #73924](https://github.com/rust-lang/rust/pull/73924)
37+
([instructions](https://perf.rust-lang.org/compare.html?start=d462551a8600e57d8b6f87e71ea56868bc5da6cf&end=f781babf87dea29c44f93842b7ac9eb809549d29&stat=instructions:u)):
38+
Up to 1.9% wins, mostly on `clap-rs`. Unclear which PR is responsible.
39+
640
## 2020-06-30
741

842
Triage done by njn. Latest revision: 0ca7f74dbd23a3e8ec491cd3438f490a3ac22741.

triage/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Look for significant changes (regressions or improvements) in the graphs.
3232
- Click on a data point to open the "compare" page for that merge.
3333
- Click on the "compare" link at the top of the measurements on that page to
3434
open the page of commits in the merge.
35+
- A change isn't significant unless one or more of the benchmarks changed by at
36+
least 1%.
3537

3638
Easy cases: there is only a single PR in the merge.
3739
- Add a comment to the PR pointing to the "compare" page (unless someone else
@@ -57,10 +59,9 @@ Difficult cases: the merge was a rollup of multiple PRs.
5759
that are likely to affect performance.
5860
- Add an entry to the triage log, as for the easy cases.
5961

60-
Repeat with the [`max-rss`
61-
graphs](https://perf.rust-lang.org/?start=&end=&absolute=true&stat=max-rss).
62-
These measurements are much noisier than `instructions:u`, so only larger
63-
changes will be clear.
62+
Repeat with the `max-rss` graphs. These measurements are much noisier than
63+
`instructions:u`, so only larger changes will be clear; recheck the "Absolute
64+
data" checkbox otherwise the noise becomes unmanageable.
6465

6566
Once finished, file a PR adding a link to the log entry in [This Week in
6667
Rust](https://github.com/emberian/this-week-in-rust/).

0 commit comments

Comments
 (0)