Skip to content

Commit 87968b4

Browse files
authored
Describe how to trigger perf runs (rust-lang#1237)
1 parent 4ff0717 commit 87968b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/profiling.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ This section talks about how to profile the compiler and find out where it spend
55
Depending on what you're trying to measure, there are several different approaches:
66

77
- If you want to see if a PR improves or regresses compiler performance:
8-
- The [rustc-perf](https://github.com/rust-lang/rustc-perf) project makes this easy and can be triggered to run on a PR via the `@rustc-perf` bot.
8+
- The [rustc-perf](https://github.com/rust-lang/rustc-perf) project makes this easy and can be triggered to run on a PR via the `@rust-timer` bot.
9+
The `@bors try @rust-timer queue` command, in a comment on the PR, will queue a try build and a
10+
benchmarking run.
11+
Note: you need `try` privileges to be able to do this. More details are available in the [perf collector documentation](https://github.com/rust-lang/rustc-perf/blob/master/collector/README.md).
912

1013
- If you want a medium-to-high level overview of where `rustc` is spending its time:
1114
- The `-Z self-profile` flag and [measureme](https://github.com/rust-lang/measureme) tools offer a query-based approach to profiling.

0 commit comments

Comments
 (0)