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

Improving download performance when cloning based on specific branches or tags #190

Merged

Conversation

MoonJeWoong
Copy link
Contributor

Description

I refactored the code that was previously using pygit2 to use gitPython. Users can now specify a particular branch or tag and get the corresponding version of the project directly. I measured the performance and saw a download speed improvement of over 65%, as shown in the image attached below. (The project being measured is the babel project).

스크린샷 2024-09-30 오후 8 16 38

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Refactoring, Maintenance
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Signed-off-by: MoonJeWoong <munjin0201@naver.com>
Signed-off-by: MoonJeWoong <munjin0201@naver.com>
Signed-off-by: MoonJeWoong <munjin0201@naver.com>
@soimkim soimkim added the chore [PR/Issue] Refactoring, maintenance the code label Oct 6, 2024
requirements-dev.txt Outdated Show resolved Hide resolved
@soimkim soimkim merged commit d81904c into fosslight:main Oct 6, 2024
3 of 4 checks passed
@soimkim
Copy link
Contributor

soimkim commented Oct 6, 2024

Awesome. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore [PR/Issue] Refactoring, maintenance the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants