refactor: add type-aware rules to demonstrate slowdown under ts 5.5 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Demonstration of slower typescript-eslint behavior under typescript 5.5. Adds type-aware rules to the repo lint task and sets
TSESTREE_SINGLE_RUN="true"
to ensure some optimizations are on.Note: I'm explicitly not using typescript-eslint's
projectServices
setting, but the slowdown is present with or without it.To recreate the issue:
yarn
to install depstime yarn lint:js
to see how long it takesyarn
to install depstime yarn lint:js
and compare its runtime to the ts 5.5 run.runtimes on my machine (m3 max, 96gb ram):