Skip to content
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

Use multiprocessing in the file discovery #492

Open
ericwb opened this issue May 26, 2024 · 0 comments
Open

Use multiprocessing in the file discovery #492

ericwb opened this issue May 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ericwb
Copy link
Contributor

ericwb commented May 26, 2024

Is your feature request related to a problem? Please describe.
To boost performance, the file discovery could use multiprocessing.

Describe the solution you'd like
Create a process pool to build list of files.

discover_files() currently takes around 0.51 seconds to discovery all files in cpython.

Describe alternatives you've considered
Single process

Additional context
n/a

Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.

@ericwb ericwb added the enhancement New feature or request label May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant