Re: log -g performance
From: Marc Strapetz <marc.strapetz_at_syntevo.com>
Date: Wed, 18 Jun 2008 15:16:26 +0200
>> I just wanted to know why log -g operations are much slower than normal
For SmartSVN's local log cache, we are using log -g to detect those
In this case I would like to make an RFE to provide more efficient
(1) Have a range parameter for the "get-mergeinfo" command
(2) Have an additional "recursion depth" parameter for log -g. Depth 0
While (1) would probably be more efficient, (2) would definitely be a
-- Best regards, Marc Strapetz _____________ SyntEvo GmbH www.syntevo.com C. Michael Pilato wrote: > Leonardo Fernandes wrote: >> Hi. >> I just wanted to know why log -g operations are much slower than normal >> log, even when the revisions don't have any merge-info change? > > I suspect this is just the overhead of checking -- for each revision -- > whether or not the revision has a mergeinfo change. This penalty is > small where no mergeinfo exists at all, but gets larger once mergeinfo > appears in the repository (and grows depending on the depth, > directory-wise, of the places where mergeinfo is set). > > (Is that right, David?) > > I think we could improve this by changing the way we detect these > differences. Today, we do so by fetching all the mergeinfo in one > revision, then all the mergeinfo in another revision, and then comparing > them. We'd probably be better served by adding an > svn_fs_mergeinfo_diff() function that could avoid crawling into > unchanged regions of the respective revision trees to even find > mergeinfo (since the mergeinfo found in both subtrees would be > identical, and thus not present in a diff of the two anyway). > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org For additional commands, e-mail: dev-help_at_subversion.tigris.orgReceived on 2008-06-18 15:16:48 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.