Feasibility of a multi-threaded or multi-process architecture? #8767
varungandhi-src
started this conversation in
General
Replies: 1 comment 9 replies
-
|
I recently added experimental support in the pyright CLI for multi-process type checking. You can use the |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for your work on Pyright, we have a fork here (https://github.com/sourcegraph/scip-python) which we use to generate index data for Python code.
I was wondering if you've considered and/or explored a multi-threaded or multi-process architecture for Pyright. Broadly, I can see there being two ways of doing this:
Do you have thoughts on the feasibility of either of these approaches? Or do you think the best way to introduce parallelism would simply be to run Pyright over various sub-directories using something like GNU Parallel and then combine any results as necessary?
Beta Was this translation helpful? Give feedback.
All reactions