diff options
author | Aleksey Kladov <[email protected]> | 2020-02-18 12:30:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-18 12:30:40 +0000 |
commit | d05480a178b132e62b8aff8986a8cb3dd3a89c0b (patch) | |
tree | 0fc36373073a66c2bbd6c7cfae6cb734527d847f /crates/ra_prof | |
parent | 2768476e491d985317b08230824f96e6718f338a (diff) | |
parent | 865759925be6b72f7ef39124ed0e4c86c0412a69 (diff) |
Merge pull request #3216 from matklad/rename-to-rust-analyzer
rename binary to rust-analyzer
Diffstat (limited to 'crates/ra_prof')
-rw-r--r-- | crates/ra_prof/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_prof/src/lib.rs b/crates/ra_prof/src/lib.rs index 7ff8db58a..c267bc85f 100644 --- a/crates/ra_prof/src/lib.rs +++ b/crates/ra_prof/src/lib.rs | |||
@@ -351,13 +351,13 @@ impl Drop for Scope { | |||
351 | /// 2. Build with `cpu_profiler` feature. | 351 | /// 2. Build with `cpu_profiler` feature. |
352 | /// 3. Tun the code, the *raw* output would be in the `./out.profile` file. | 352 | /// 3. Tun the code, the *raw* output would be in the `./out.profile` file. |
353 | /// 4. Install pprof for visualization (https://github.com/google/pprof). | 353 | /// 4. Install pprof for visualization (https://github.com/google/pprof). |
354 | /// 5. Use something like `pprof -svg target/release/ra_lsp_server ./out.profile` to see the results. | 354 | /// 5. Use something like `pprof -svg target/release/rust-analyzer ./out.profile` to see the results. |
355 | /// | 355 | /// |
356 | /// For example, here's how I run profiling on NixOS: | 356 | /// For example, here's how I run profiling on NixOS: |
357 | /// | 357 | /// |
358 | /// ```bash | 358 | /// ```bash |
359 | /// $ nix-shell -p gperftools --run \ | 359 | /// $ nix-shell -p gperftools --run \ |
360 | /// 'cargo run --release -p ra_lsp_server -- parse < ~/projects/rustbench/parser.rs > /dev/null' | 360 | /// 'cargo run --release -p rust-analyzer -- parse < ~/projects/rustbench/parser.rs > /dev/null' |
361 | /// ``` | 361 | /// ``` |
362 | #[derive(Debug)] | 362 | #[derive(Debug)] |
363 | pub struct CpuProfiler { | 363 | pub struct CpuProfiler { |