TypeStrong / fork-ts-checker-webpack-plugin

Webpack plugin that runs typescript type checker on a separate process.
MIT License
1.93k stars 238 forks source link

Performance loss between latest and v6.5.3 #830

Open eamodio opened 7 months ago

eamodio commented 7 months ago

Current behavior

Slower than v6.5.3. On my machine yarn build takes ~8.2s on v6.5.3 and ~11.3s on v9.0.2

Expected behavior

Same or faster than v6.5.3

Steps to reproduce the issue

  1. Clone GitLens and checkout to this https://github.com/gitkraken/vscode-gitlens/tree/390a5b76241bc04806da1c33fc8c346596b4be46
  2. Run yarn build and see the perf of v6.5.3
  3. Upgrade fork-ts-checker-webpack-plugin to the latest
  4. Run yarn build and see the perf of the latest

Issue reproduction repository

https://github.com/gitkraken/vscode-gitlens/

Environment