diff options
author | zeripath <art27@cantab.net> | 2021-02-17 19:32:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 14:32:47 -0500 |
commit | 7ba158183a34d71b3989512c059a01d35c4c4673 (patch) | |
tree | c9ae0a2d4e621c6322701b322b128dfb25fe4d69 /.eslintrc | |
parent | fe628d8406632e6f5b3969ac86d817a035d4bae9 (diff) | |
download | gitea-7ba158183a34d71b3989512c059a01d35c4c4673.tar.gz gitea-7ba158183a34d71b3989512c059a01d35c4c4673.zip |
Use cat-file --batch in GetLanguageStats (#14685)
* Use cat-file --batch in GetLanguageStats
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 <art27@cantab.net>
* placate lint
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update modules/git/repo_language_stats_nogogit.go
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to '.eslintrc')
0 files changed, 0 insertions, 0 deletions