diff options
| author | Stan Hu <stanhu@gmail.com> | 2018-01-02 22:52:30 -0800 |
|---|---|---|
| committer | Stan Hu <stanhu@gmail.com> | 2018-01-02 23:48:19 -0800 |
| commit | 25a868753b4b9e673af31f7f4f58f9e97811e9d9 (patch) | |
| tree | 66fd90d7696c8e0de4c5dc515f190f9a69e70d0e /scripts/gitaly-test-spawn | |
| parent | ff077cf7dc5cfd7c6c6206d801ea3f326f7af1aa (diff) | |
| download | gitlab-ce-sh-optimize-commit-stats.tar.gz | |
Speed up generation of commit stats by using Rugged native methodssh-optimize-commit-stats
The previous implementation iterated across the entire patch set
to determine the number of lines added, deleted, and changed. Rugged
has a native method `Rugged::Diff#stat` that does this already,
which appears to be a little faster and require less RAM than doing
this ourselves.
Improves performance in #41524
Diffstat (limited to 'scripts/gitaly-test-spawn')
0 files changed, 0 insertions, 0 deletions
