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
faster copy-dereference to output #5370
Conversation
73d5ca4
to
e88a126
Compare
@stefanpenner what does this mean for build times? (out of interest). |
e88a126
to
174abc7
Compare
This is a nice improvement for users with a large number of files in dist, as it now only applies a "patch". TL;DR it should be net positive, as it preforms a similar number of disk operations for testing what files are available, but typically skips nearly all file reading and writing (which turns out to be kinda slow). |
174abc7
to
f589355
Compare
@stefanpenner interesting thanks! |
The changes here look good, do you think we need any additional tests here (I'm not sure if we do)? |
f589355
to
3ea65bc
Compare
I don't think so, the observable difference is performance. Which can be a-bit difficult to test, and the observed differences are thoroughly tested in the new module. So we should be covered. If issues occur, it is most likely going to be in the foreign module, and further tests will then need to be added there, rather then here. |
this has some bugs, will investigate.. |
3ea65bc
to
6dc822e
Compare
Turns out, I was accidentally re-initializing the sync object each time... silly me. |
@homu r+ |
📌 Commit e50b191 has been approved by |
⚡ Test exempted - status |
faster copy-dereference to output @rwjblue r+
@rwjblue r+