Skip to content

Commit 06b58a3

Browse files
docs: add performance optimization section to README (#66)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 9949e74 commit 06b58a3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ setting "generateTrace" compiler option. This is an instruction from [microsoft/
245245
6. Open `types.json` in an editor
246246
7. When you see a type ID in the tracing output, go-to-line {id} to find data about that type
247247

248+
## Performance optimization
249+
250+
This plugin delegates type checking to TypeScript, so overall performance is mostly determined by `tsc` itself.
251+
252+
If you need faster type checks, start by optimizing your TypeScript setup using the [official TypeScript performance guide](https://github.com/microsoft/TypeScript/wiki/Performance).
248253
## Enabling incremental mode
249254

250255
TypeScript's "incremental" mode speeds up initial cold-start typechecks keeping an on-disk cache.

0 commit comments

Comments
 (0)