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

Replace child_process with worker_threads in Node.js version #630

Closed
Balearica opened this issue Aug 10, 2022 · 0 comments
Closed

Replace child_process with worker_threads in Node.js version #630

Balearica opened this issue Aug 10, 2022 · 0 comments

Comments

@Balearica
Copy link
Member

Replacing child_process with worker_threads should yield better performance and a smaller memory footprint in general. Additionally, as images being serialized/deserialized when passed to child processes appears to be the major bottleneck on the Node.js version, so this change is likely to resolve as worker_threads uses structuredClone.

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

1 participant