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

Faster copy through index #4728

Merged
merged 5 commits into from
Aug 11, 2022
Merged

Faster copy through index #4728

merged 5 commits into from
Aug 11, 2022

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Aug 10, 2022

What's the problem this PR addresses?

We were using lockPromise to write files into the cache; since there was a lot of files to write, and we did this for each one, it was very expensive.

How did you fix it?

Experimenting with instead "moving" the file from a temporary path to the final one once the write is finished.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 506c7cd into master Aug 11, 2022
@arcanis arcanis deleted the mael/faster-index-copy branch August 11, 2022 09:25
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.

1 participant