aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-04-14 21:04:08 +0100
committerAleksey Kladov <[email protected]>2019-04-14 23:10:07 +0100
commitb228947b6863f5864b48bb3a7f3dcca921f58d0b (patch)
tree208d849b755a91e2f3640c1550ca8c74192a579a /docs
parente6f32c6d3a5626a1f071d96d2cdebe630abdd5a3 (diff)
cleanup syntax
Diffstat (limited to 'docs')
-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```