-
Notifications
You must be signed in to change notification settings - Fork 662
Improves git object cache #4685
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
|
@pvanbuijtene: Thank you for your contribution and the work you have done. I have following remarks/suggestions:
|
That was my idea to move the functionality from the GitCache class back into the GitRepository as I think the repository wrapper should handle the caching mechanism as it's the abstraction of the database which maintains the collections and the cache, but we can reconsider that |
|
Happy to help :) @arturcic as I understand you will implement the suggestions, feel free to ping me in case you want to have some changes tested against a repository causing issues. |
|
@pvanbuijtene thank you, yeah, I implemented the suggestions so far in this PR, but it's a draft for now, I want to test caching the other collections as well before having this merged |
7393ace to
ec03709
Compare
468ac8d to
ac0e28b
Compare
|
@pvanbuijtene do you have the time to test this PR on the big repository you have and compare? |
|
@arturcic sure, the changes seem to have introduced some additional memory usage: |
btw what are you using for the memory usage analysis? |
|
I will also do a check with the anonymized repo to see if the object counts are similar, this way there might still be a way to verify things with that repo. |
30f83ff to
d5b92bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@pvanbuijtene mind to have a review as well?, please also attach the new memory consumption data you see on your big repo. |
thanks @pvanbuijtene. I think I will merge this one then. Thanks once again for the initial work you've done. |
|
Thank you @arturcic for your contribution! |
|
@arturcic can you share some insights into when this would be released, maybe as a pre-release? We're having some issues on our build servers which should be fixed by this update :) |
I think I could release it today, and the other PRs could target the next release |
|
That would be great 👍 |
|
🎉 This issue has been resolved in version 6.5.0 🎉 Your GitReleaseManager bot 📦🚀 |














Follow up for #4681