Project

General

Profile

Actions

Defect #7047

open

Git adapter very slow when a commit modifies a lot of files

Added by Jean-Baptiste Barth over 13 years ago. Updated over 11 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2010-12-04
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I have a Git repo with thousands of files modified in some commits. Repository index action is very slow (>20s).

At first sight, it seems it's due to Redmine::Scm::Adapters::GitAdapter#revisions uses --raw option, which is not needed in all cases, at least not needed in Repository::Git#latest_changesets. It results in thousands of useless lines parsed after the shell-out.

I'll have a look at that. I admit it's not a common use case, hence the priority.


Files


Related issues

Related to Redmine - Defect #1435: slow display of 'repository' tab for huge repository (pagination problem?)Closed2008-06-12

Actions
Related to Redmine - Defect #5096: Redmine hangs up while browsing Git repositoryClosedToshi MARUYAMA2010-03-16

Actions
Related to Redmine - Defect #4773: Redmine+Git+PostgresSQL 8.4 fails with linux kernel tree (encoding)ClosedJean-Philippe Lang2010-02-09

Actions
Related to Redmine - Feature #6092: Truncate Git revision labels in Activity page/feed and allow configurable lengthClosedToshi MARUYAMA2010-08-09

Actions
Related to Redmine - Defect #5357: Git: SCM revisions ordered by date/time (should be reverse commit order)NewToshi MARUYAMA2010-04-20

Actions
Related to Redmine - Defect #6013: git tab,browsing, very slow -- even after first timeClosed2010-08-02

Actions
Related to Redmine - Feature #8365: Git: per project setting to report last commit or not in repository treeClosedToshi MARUYAMA2011-05-13

Actions
Actions

Also available in: Atom PDF