Skip to content

Commit bb13393

Browse files
lqdJohnTitor
andauthored
Update src/profiling.md
Co-authored-by: Yuki Okushi <[email protected]>
1 parent 157417d commit bb13393

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/profiling.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ 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 `@rust-timer` bot. The `@bors try @rust-timer queue` command, in a comment on the PR, will queue a try build and a benchmarking run. 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).
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 benchmarking run.
10+
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).
911

1012
- If you want a medium-to-high level overview of where `rustc` is spending its time:
1113
- 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)