Skip to content

test: use named fixture tsconfig#184

Merged
kireevmp merged 2 commits into
masterfrom
feat/rule-tester-ts-perf
Jun 19, 2026
Merged

test: use named fixture tsconfig#184
kireevmp merged 2 commits into
masterfrom
feat/rule-tester-ts-perf

Conversation

@kireevmp

Copy link
Copy Markdown
Member

Every rule test configured projectService individually using defaultProject, which incurs large per-test overhead (per typescript-eslint docs).

This migrates tests to use a named tsconfig.json, which significantly improves parsing speed, current-largest bottleneck.

Improvement
Total Time (multicore) 9.5s -> 4.2s
Tests (parsing improvements) 51s -> 25s
Setup (via isolate: false) 8.7s -> 3.5s

Overall speedup seems to be around ~x2.

@kireevmp kireevmp self-assigned this Jun 19, 2026
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify

netlify Bot commented Jun 19, 2026

Copy link
Copy Markdown

Deploy Preview for eslint-plugin ready!

Name Link
🔨 Latest commit 1c51038
🔍 Latest deploy log https://app.netlify.com/projects/eslint-plugin/deploys/6a357e3e77a2fa00085f9bc2
😎 Deploy Preview https://deploy-preview-184--eslint-plugin.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@AlexandrHoroshih AlexandrHoroshih left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@kireevmp kireevmp merged commit 4a7947c into master Jun 19, 2026
8 checks passed
@kireevmp kireevmp deleted the feat/rule-tester-ts-perf branch June 19, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants