-
-
Notifications
You must be signed in to change notification settings - Fork 780
perf: improve parallelism of real content hash plugin #10888
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
Conversation
✅ Deploy Preview for rspack canceled.
|
📦 Binary Size-limit
❌ Size increased by 45.38KB from 59.80MB to 59.84MB (⬆️0.07%) |
CodSpeed Performance ReportMerging #10888 will not alter performanceComparing 🎉 Hooray!
|
cacda2a
to
3ef109a
Compare
📝 Benchmark detail: Open
|
798b298
to
0596d4b
Compare
Summary
Improve parallelism when calculating the real content hashes.
By recording the processed hashes and the hashes on which the current asset depends, if all have been processed, it is added to the current processing batch. Then process the batch together to prevent the number of tasks processed in parallel at one time from being too small, which would make the process approach sequential processing.
Before:

After:

Related links
Checklist