We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c38a8 commit def606cCopy full SHA for def606c
collector/README.md
@@ -475,6 +475,15 @@ profilers whose results are not affected by system noise (e.g. `callgrind` or `e
475
`RUST_LOG=debug` can be specified to enable verbose logging, which is useful
476
for debugging `collector` itself.
477
478
+## Profiling runtime benchmarks
479
+It is also possible to profile runtime benchmarks using the following command:
480
+
481
+```
482
+./target/release/collector profile_runtime <PROFILER> <RUSTC> <BENCHMARK_NAME>
483
484
485
+Currently, a `<PROFILER>` can be `cachegrind`, which will run the runtime benchmark under
486
+`Cachegrind`.
487
488
## How `rustc` wrapping works
489
When a crate is benchmarked or profiled, the real `rustc` is replaced with the `rustc-fake` binary,
0 commit comments