On Fri, Jan 8, 2010 at 12:54 PM, Greg Hudson <ghudson_at_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,
Received on 2010-01-08 22:50:56 CET