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

Spawn workers for performance #137

Merged
merged 9 commits into from
May 17, 2020
Merged

Spawn workers for performance #137

merged 9 commits into from
May 17, 2020

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented May 11, 2020

Spawn multiple workers (processes) to do type checking.

  1. Code worker is to type check Ruby code.
  2. Signature worker is to validate signatures.
  3. Interaction worker is to process requests from clients including hover and completion.

The signature validation and Ruby code type checking can run in parallel with more processes, and thus we expect the analysis performance improvements.

@soutaro soutaro force-pushed the master-worker branch 2 times, most recently from bf0135c to d977a27 Compare May 15, 2020 08:24
@soutaro soutaro marked this pull request as ready for review May 17, 2020 06:23
@soutaro soutaro merged commit 1fef843 into master May 17, 2020
@soutaro soutaro deleted the master-worker branch May 17, 2020 07:32
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.

1 participant