Opened 9 years ago
Last modified 5 months ago
#11971 closed enhancement
Improve git repository performance — at Initial Version
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.6 |
Component: | plugin/git | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
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_cache
option is disabled. We could improve it. - The revisions cache is created each request if repository is not modified. Caching refs using
git for-each-ref
and detecting the modification could reduce times of the creation. git for-each-ref
is executed to the number of shown changesets in log view. Caching name and revision of tags could avoid the executions.
Note:
See TracTickets
for help on using tickets.