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

Multiprocessing vulture with python. #330

Open
pernordeman123 opened this issue Oct 4, 2023 · 1 comment
Open

Multiprocessing vulture with python. #330

pernordeman123 opened this issue Oct 4, 2023 · 1 comment

Comments

@pernordeman123
Copy link

Hi!

Is it possible to run vulture with multiprocessing?
if so do you have any recommendation on how to do it?

Trying the split the files in different processes/threads will break the tool, so it would be cool if its possible to share/split the AST between processes.
I'm using pythons threading and queue libs.

BR
Per

@jendrikseipp
Copy link
Owner

Vulture currently doesn't support parallel processing. And I feel that if it's slow enough to make somebody wish for parallel processing, we should be making its single-core execution faster first. Is the code you're testing open source and can you share a link and how you call Vulture? How ling does running Vulture on your code take?

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

No branches or pull requests

2 participants