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

Improve write bundles performance #107

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

yamadapc
Copy link
Contributor

@yamadapc yamadapc commented Oct 8, 2024

Improves write bundles performance by rewriting hash_ref replacement in rust.

Removes streaming from this part of the code since the bundles aren't huge and most of the time they were loaded in memory already. This should reduce the memory footprint due to avoiding copies caused by piping into paused streams.

Performance should be at least 5x better, hopefully the memory usage drop will result in a reasonable improvement on overall build times.

@yamadapc yamadapc marked this pull request as ready for review October 9, 2024 06:00
@yamadapc
Copy link
Contributor Author

yamadapc commented Oct 9, 2024

@yamadapc yamadapc requested a review from a team October 9, 2024 06:11
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

Successfully merging this pull request may close these issues.

2 participants