From b228947b6863f5864b48bb3a7f3dcca921f58d0b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 14 Apr 2019 23:04:08 +0300 Subject: cleanup syntax --- docs/dev/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/dev') 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: There's an alias for this: `cargo jinstall-lsp`. * `Rust Analyzer: Syntax Tree` shows syntax tree of the current file/selection. + +# Profiling + +We have a built-in hierarchical profiler, you can enable it by using `RA_PROF` env-var: + +``` +RA_PROFILE=* // dump everything +RA_PROFILE=foo|bar|baz // enabled only selected entries +RA_PROFILE=*@3 // dump everything, up to depth 3 +``` -- cgit v1.2.3