-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Investigate moving away from Node's default IPC mechanism #4942
Comments
Assigning it to @BYK who is interested in experimenting with this. Some code pointers: |
This has been investigated and abandoned, right? |
Yup, #5613. Feel free to reopen if you still wanna track it |
Edit: yes, we did investigate for the |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Currently,
jest-worker
uses internal Node's IPC mechanism; which in turn uses JSON serialization to transmit objects.We should investigate if we could gain some speed + versatility if we switched to use
v8.serialize
/v8.deserialize
V8's APIs, which are exposed through thev8
module. These methods allow to serializeDate
andRegExp
objects, and they also make possible to serialize circular references.In addition to that, we should use some sort of transmission mechanism to pass native buffers between processes;
xpipe
seems to be a good solution for that.The text was updated successfully, but these errors were encountered: