Skip to content

Commit b1f6c4d

Browse files
committed
Perf triage, 2020-06-23.
I also updated the triage instructions.
1 parent 0e0224b commit b1f6c4d

File tree

2 files changed

+47
-5
lines changed

2 files changed

+47
-5
lines changed

triage/2020.md

+33
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,39 @@ See the [README](README.md) for details on how these logs are collated.
44

55
They are in reverse chronological order.
66

7+
## 2020-06-23
8+
9+
Triage done by njn. Latest revision: 6bb3dbfc6c6d8992d08431f320ba296a0c2f7498.
10+
Lots of improvements this week!
11+
12+
Having done this for a few weeks now, I see that close to half of the PRs with
13+
significant performance effects are rollups.
14+
15+
Regressions
16+
- None.
17+
18+
Improvements
19+
- [Rollup of 9 pull requests](https://github.com/rust-lang/rust/pull/73563)
20+
([instructions](https://perf.rust-lang.org/compare.html?start=f455e46eae1a227d735091091144601b467e1565&end=7058471adec80a2a1e6092443e08546768c9c894&stat=instructions:u), [max-rss](https://perf.rust-lang.org/compare.html?start=f455e46eae1a227d735091091144601b467e1565&end=7058471adec80a2a1e6092443e08546768c9c894&stat=max-rss)):
21+
Up to 33.6% instruction wins on a stress test, and up to 10.3% instructions
22+
wins on several real-world benchmarks. Also a max-rss win.
23+
[#72788](https://github.com/rust-lang/rust/pull/72788) may be the cause?
24+
- [Cache flags and escaping vars for predicates](https://github.com/rust-lang/rust/pull/73180)
25+
([instructions](https://perf.rust-lang.org/compare.html?start=a8cf3991177f30694200002cd9479ffbbe6d9a1a&end=1a4e2b6f9c75a0e21722c88a0e3b610d6ffc3ae3&stat=instructions:u)):
26+
Up to 4.9% wins across numerous benchmarks.
27+
- [store `ObligationCause` on the heap](https://github.com/rust-lang/rust/pull/72962)
28+
([instructions](https://perf.rust-lang.org/compare.html?start=f315c35a77e40bd11ce81fedc0556be0f410bbf4&end=c8a9c340de32cb70c8bad8af1a4474f805c5a969&stat=instructions:u)):
29+
Up to 3.5% wins across numerous benchmarks.
30+
- [Upgrade Chalk](https://github.com/rust-lang/rust/pull/72936)
31+
([instructions](https://perf.rust-lang.org/compare.html?start=349f6bfb11d73ebb6a272f9a3d00883484f8218c&end=a8cf3991177f30694200002cd9479ffbbe6d9a1a&stat=instructions:u)):
32+
Up to 1.5% wins across numerous benchmarks.
33+
- [Rollup of 13 pull requests](https://github.com/rust-lang/rust/pull/73511)
34+
([instructions](https://perf.rust-lang.org/compare.html?start=2d8bd9b74dc0cf06d881bac645698ccbcf9d9c5e&end=34c5cd9a64d8537236626c4ccbed39a924cd38e2&stat=instructions:u)):
35+
Up to 1.5% wins across numerous benchmarks.
36+
- [Rollup of 16 pull requests](https://github.com/rust-lang/rust/pull/73528)
37+
([instructions](https://perf.rust-lang.org/compare.html?start=34c5cd9a64d8537236626c4ccbed39a924cd38e2&end=033013cab3a861224fd55f494c8be1cb0349eb49&stat=instructions:u)):
38+
Up to 3.4% wins on `wg-grammar`, little change elsewhere.
39+
740
## 2020-06-16
841

942
Triage done by njn.

triage/README.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,14 @@ up on any promised actions. (I.e. nag people!)
1919
Start a new triage log entry. Follow the format of the preceding entries.
2020

2121
Look through the [`instructions:u` graphs](https://perf.rust-lang.org) for each
22-
benchmark, looking for significant changes (regressions or improvements) in the
23-
period since the last triage.
22+
benchmark.
23+
- Record the hash of the latest measured revision in the log entry.
24+
- Set the "start" revision to the previous log entry's latest revision, and the
25+
"end" revision to the latest revision. Full SHAs must be used.
26+
- Uncheck the "Absolute data" checkbox, because that makes changes easier to
27+
see.
28+
29+
Look for significant changes (regressions or improvements) in the graphs.
2430
- Click and drag a region of a graph to zoom in on it. This is useful when data
2531
points are close together.
2632
- Click on a data point to open the "compare" page for that merge.
@@ -34,8 +40,10 @@ Easy cases: there is only a single PR in the merge.
3440
regression, consider requesting a backout. It may be worth looking through
3541
the comments to see if any perf CI runs were done, and whether the
3642
regression was expected.
37-
- Add an entry to the triage log. Include useful details, especially promises
38-
of follow-up action from authors.
43+
- Add an entry to the triage log. Include the PR title, a link to it, and a
44+
link to the performance results. Include useful details, such as the size of
45+
the regression/improvement, and any promises of follow-up action from authors
46+
in the case of a regression.
3947

4048
Difficult cases: the merge was a rollup of multiple PRs.
4149
- Look through the PRs and try to determine which was the cause. Often you
@@ -47,6 +55,7 @@ Difficult cases: the merge was a rollup of multiple PRs.
4755
above.
4856
- You might want to remind the author to use "@bors rollup=never" for PRs
4957
that are likely to affect performance.
58+
- Add an entry to the triage log, as for the easy cases.
5059

5160
Repeat with the [`max-rss`
5261
graphs](https://perf.rust-lang.org/?start=&end=&absolute=true&stat=max-rss).
@@ -60,7 +69,7 @@ Rust](https://github.com/emberian/this-week-in-rust/).
6069
list of notable merged PRs.
6170
- Within that subsection, add a list containing a single item.
6271
- That item should be a link to the triage log entry with the form
63-
"YYYY-MM-DD".
72+
"YYYY-MM-DD", possibly with some brief text about notable things.
6473

6574
If you have any questions, the #wg-compiler-performance channel on Discord and
6675
the t-compiler stream on Zulip are good places to ask.

0 commit comments

Comments
 (0)