InDefero

Sign in or create your account | Project List | Help

Issue 199: Some optimizations for SVN access

Reported by Patrick Georgi, Apr 19, 2009

As discussed on IRC, there are some ways to improve SVN access, esp. 
for the source browser.

The two things this patch does are:
1. Cache commit messages within a single run, so if you have a 
directory with 20 files of rev. 25020, it only fetches the message 
once, instead of 20 times. It might be a good idea to cache that 
data with the pluf infrastructure across multiple invocations, or it 
might not, I wasn't sure about that and so I chose the most simple 
solution.

2. Limit fetching commit informations to one log entry at a time. A 
repository with 280000 revisions exceeds the maximum php runtime 
otherwise.

Putting the patch up here so it's not lost.

Comment 1 by Loïc d'Anterroches, Apr 20, 2009

Thanks, effectively the new backend branch will have a cache for 
these kind of information, I will push it as a "dev" 
branch this week.

Comment 2 by Loïc d'Anterroches, Apr 20, 2009

Fixed in commit 0efb0fe, thanks a lot!
Status: Fixed

Created: 10 months 25 days ago by Patrick Georgi

Updated: 10 months 24 days ago

Status: Fixed

Followed by: 1 person

Labels:
Type:Defect
Priority:Medium