You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/profiling.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,10 @@ This section talks about how to profile the compiler and find out where it spend
5
5
Depending on what you're trying to measure, there are several different approaches:
6
6
7
7
- 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).
9
12
10
13
- If you want a medium-to-high level overview of where `rustc` is spending its time:
11
14
- The `-Z self-profile` flag and [measureme](https://github.com/rust-lang/measureme) tools offer a query-based approach to profiling.
0 commit comments