Skip to content

Improve performance with mutiple patterns #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jan 20, 2022

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Jan 20, 2022

Combine tasks with same options.

Test with this pattern ['**/eslint-plugin-*/package.json', '**/@*/eslint-plugin/package.json'], Prettier use a similar pattern to search plugins.

main - sync: 1.992s
working - sync: 990.913ms
main - async: 1.059s
working - async: 490.155ms
main - stream: 973.486ms
working - stream: 595.946ms

@fisker fisker marked this pull request as ready for review January 20, 2022 07:12
@fisker fisker marked this pull request as draft January 20, 2022 07:18
@fisker fisker marked this pull request as ready for review January 20, 2022 07:34
@fisker fisker changed the title Improve perfermance with mutiple patterns Improve performance with mutiple patterns Jan 20, 2022
fisker and others added 6 commits January 20, 2022 15:42

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@sindresorhus sindresorhus merged commit 04fbd5b into sindresorhus:main Jan 20, 2022
@fisker fisker deleted the combine-tasks branch January 20, 2022 18:09
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.

None yet

2 participants