mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
performance.md: indexing metrics
This commit is contained in:
parent
f56f57ebf9
commit
0daa95bfd7
@ -46,6 +46,10 @@ Usually, [`CachedValue`](upsource:///platform/core-api/src/com/intellij/psi/util
|
||||
If the information you cache depends only on a subtree of the current PSI element (and nothing else: no resolve results or other files), you can cache it in a field in that `PsiElement` and drop the cache in an override of `ASTDelegatePsiElement.subtreeChanged()`.
|
||||
|
||||
## Improving Indexing Performance
|
||||
|
||||
#### Performance Metrics
|
||||
Indexing performance metrics in JSON format are generated in [logs directory](https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs) (see [sandbox directory](ide_development_instance.md#the-development-instance-sandbox-directory) for development instance) in 2020.2 and later.
|
||||
These are additionally available in HTML format starting with 2020.1.
|
||||
|
||||
#### Avoid Using AST
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user