subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <p...@querna.org>
Subject Re: Subversion in 2010
Date Fri, 08 Jan 2010 21:50:20 GMT
On Fri, Jan 8, 2010 at 12:54 PM, Greg Hudson <ghudson@mit.edu> wrote:
> On Fri, 2010-01-08 at 15:31 -0500, Paul Querna wrote:
>> "Profile everything, be faster at everything"
>
> There are smart people who will disagree with me on this, but I'm not
> sure the best tool for improving Subversion performance is a profiler.

What i really mean by 'profile' is time everything, figure out where
`svn update` spends 4 seconds.  And yes, many times it will be an
algorithmic issue, but the first step is to just profile everything,
and figure out the biggest wins, some of them might surprise us.

> Historically a lot of our performance issues have come from algorithmic
> inefficiencies, particularly from code in libsvn_repos.  You can get
> maybe a 10-30% reduction in time on these operations by trying to
> optimize the innermost bit of code which gets repeated over and over
> again, but in some cases you can get an order of magnitude reduction in
> time by fixing the algorithms.
>
> It's been too long for me to remember any specific examples,
> unfortunately.
>
>
>

Mime
View raw message