Improve git repository performance
|Reported by:||Jun Omae||Owned by:||Jun Omae|
We often use
log: links with git repository in ticket. The ticket view with the links is too slow. We should improve the performance of git repository.
- The git connector constructs revisions cache for parents, children, branches and tags. The construction is performed each request if
persistent_cacheoption is disabled. We could improve it.
- The revisions cache is created each request if repository is not modified. Caching refs using
git for-each-refand detecting the modification could reduce times of the creation.
git for-each-refis executed to the number of shown changesets in log view. Caching name and revision of tags could avoid the executions.