Skip to content

Conversation

HyperLife1119
Copy link
Collaborator

@HyperLife1119 HyperLife1119 commented Aug 25, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Application (the showcase website) / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

https://eslint.org/blog/2025/08/multithread-linting/#cli-multithreading-support

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

typescript-eslint/typescript-eslint#11568 (comment)

Copy link

codecov bot commented Aug 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.09%. Comparing base (b5c256d) to head (219d552).
⚠️ Report is 27 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9351      +/-   ##
==========================================
- Coverage   92.13%   92.09%   -0.05%     
==========================================
  Files         561      561              
  Lines       19653    19653              
  Branches     3004     3004              
==========================================
- Hits        18108    18100       -8     
- Misses       1208     1216       +8     
  Partials      337      337              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Laffery
Copy link
Collaborator

Laffery commented Aug 25, 2025

看了下最近几个 pr lint_components 都是在 2min 左右,这个 pr 花了 4min 🤔

@HyperLife1119
Copy link
Collaborator Author

The biggest gains come when linting many files on a multi-core machine with fast I/O. That said, if your configuration or plugins take a long time to initialize, using too many threads can actually slow things down.

看起来这个并发对于 zorro 项目来说效果并不好 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants