Edgewall Software

Opened 12 years ago

Last modified 18 months ago

#10606 new enhancement

GitPlugin: Improve performance — at Version 2

Reported by: Peter Suter Owned by:
Priority: normal Milestone: next-dev-1.7.x
Component: plugin/git Version: 1.0dev
Severity: critical Keywords: performance
Cc: Jun Omae Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Created as part of the move of GitPlugin. Tickets originally reported for th:GitPlugin: #746

Quoting hvr:

  • try to create an additional libgit-thin-based Storage in PyGIT.py to evaluate whether the exec+fork+parse overhead is still signifikant
  • most external git calls can be avoided now thanks to extensive caching of meta-data; one of the remaining speed killers is listing directories in the source browser (cat-file -s calls can be optimized, by using GIT 1.5.3+ -l option to ls-tree; but having to call rev-list for each folder element still remains an issue… maybe it'll be possible to get an enhancement to ls-tree merged upstream to provide that information as well…)

See also: TracDev/Performance/Git

Change History (2)

comment:1 by Christian Boos, 12 years ago

Also, the 3 commits from last November in https://github.com/andersk/trac-git-plugin/commits/deforkify seem to be very interesting. Sorry, they're already in… looked in the wrong place.

Last edited 12 years ago by Christian Boos (previous) (diff)

comment:2 by Christian Boos, 12 years ago

Description: modified (diff)
Keywords: performance added
Note: See TracTickets for help on using tickets.