File tree 1 file changed +6
-5
lines changed
src/doc/rustc-dev-guide/src/profiling
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,15 @@ You can also use that same command to use cachegrind or other profiling tools.
90
90
91
91
If you prefer to run things manually, that is also possible. You first
92
92
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:
96
96
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
98
99
99
100
``` bash
100
- cd collector/benchmarks/clap-rs
101
+ cd collector/compile- benchmarks/clap-3.1.6
101
102
```
102
103
103
104
In this case, let's say we want to profile the ` cargo check `
You can’t perform that action at this time.
0 commit comments