-
Notifications
You must be signed in to change notification settings - Fork 87
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
Improve speed by parallelizing I/O #152
Comments
@ascorbic That is awesome! |
@ehmicky Almost certainly, but I need to create a large site for benchmarking before doing it. I also tried it with jest-worker to run them in a worker pool, but that was slower on the small site (presumably because of the initial setup time). However it might be quicker for big sites, so we could switch between them. I'm going to see about creating a massive test site, unless anyone has one to hand. |
Thanks for experimenting and tweaking this @ascorbic, this should provide with some huge performance benefits! One thing to look for is the OS limit on the maximum number of open files. However, I think any value below |
Most of the logic from
next-on-netlify
is I/O read/write operations. Those are currently performed serially. Performing those in parallel instead would significantly improve performance.A queue should probably be used so that the OS max limits on open files is not reached.
@lindsaylevine
The text was updated successfully, but these errors were encountered: