[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Implementing 'svn-bench null-blame'

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 18 Jun 2013 07:32:29 -0400

On 06/17/2013 06:31 PM, Johan Corveleyn wrote:
> To my surprise, it was slightly slower. I suspect this is because the
> backend (FSFS) stores forward deltas (sometimes with skip-deltas),
> which can often be used directly without much overhead, and sent
> directly to the client.

I was about to reply that deltas in the FS layer are an implementation
detail of that layer, invisible to higher layers such as the repos layer
(where the get-file-revs handling for blame actually takes place). But then
I noticed that svn_fs_fs__get_file_delta_stream() actually does optimize the
case where the delta requested matches the delta stored. So, yeah, there
may just be something to your suspicion.

C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2013-06-18 13:33:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.