Skip to content

Commit 95c411f

Browse files
JohnTitortshepang
authored andcommitted
Update explnation about benchmarks
Signed-off-by: Yuki Okushi <[email protected]>
1 parent 2684779 commit 95c411f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/doc/rustc-dev-guide/src/profiling/with_perf.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,15 @@ You can also use that same command to use cachegrind or other profiling tools.
9090

9191
If you prefer to run things manually, that is also possible. You first
9292
need to find the source for the test you want. Sources for the tests
93-
are found in [the `collector/benchmarks` directory][dir]. So let's go
94-
into the directory of a specific test; we'll use `clap-rs` as an
95-
example:
93+
are found in [the `collector/compile-benchmarks` directory][compile-time dir]
94+
and [the `collector/runtime-benchmarks` directory][runtime dir]. So let's
95+
go into the directory of a specific test; we'll use `clap-rs` as an example:
9696

97-
[dir]: https://github.com/rust-lang/rustc-perf/tree/master/collector/benchmarks
97+
[compile-time dir]: https://github.com/rust-lang/rustc-perf/tree/master/collector/compile-benchmarks
98+
[runtime dir]: https://github.com/rust-lang/rustc-perf/tree/master/collector/runtime-benchmarks
9899

99100
```bash
100-
cd collector/benchmarks/clap-rs
101+
cd collector/compile-benchmarks/clap-3.1.6
101102
```
102103

103104
In this case, let's say we want to profile the `cargo check`

0 commit comments

Comments
 (0)