aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md
index 7bb323f3f..7fb5886c9 100644
--- a/docs/dev/README.md
+++ b/docs/dev/README.md
@@ -135,3 +135,13 @@ There's also two VS Code commands which might be of interest:
135 There's an alias for this: `cargo jinstall-lsp`. 135 There's an alias for this: `cargo jinstall-lsp`.
136 136
137* `Rust Analyzer: Syntax Tree` shows syntax tree of the current file/selection. 137* `Rust Analyzer: Syntax Tree` shows syntax tree of the current file/selection.
138
139# Profiling
140
141We have a built-in hierarchical profiler, you can enable it by using `RA_PROF` env-var:
142
143```
144RA_PROFILE=* // dump everything
145RA_PROFILE=foo|bar|baz // enabled only selected entries
146RA_PROFILE=*@3 // dump everything, up to depth 3
147```