Skip to content

Conversation

zeripath
Copy link
Contributor

This PR moves to using a single cat-file --batch in GetLanguageStats
significantly reducing the number of processes spawned during language stat
processing.

Signed-off-by: Andrew Thornton [email protected]

This PR moves to using a single cat-file --batch in GetLanguageStats
significantly reducing the number of processes spawned during language stat
processing.

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath zeripath added performance/speed performance issues with slow downs performance/bigrepo Performance Issues affecting Big Repositories labels Feb 14, 2021
@zeripath zeripath added this to the 1.14.0 milestone Feb 14, 2021
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 14, 2021
@zeripath
Copy link
Contributor Author

I should add this needs #14682 to see its full effect. The Size() of the blobs is still being checked using the cat-file -s without #14682 so this only removes half of the excess calls.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 17, 2021
@techknowlogick
Copy link
Member

🚀

@techknowlogick techknowlogick merged commit 7ba1581 into go-gitea:master Feb 17, 2021
@zeripath zeripath deleted the cat-file-batch-repo-language-stats branch February 17, 2021 20:41
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. performance/bigrepo Performance Issues affecting Big Repositories performance/speed performance issues with slow downs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants