On 09/03/2011 20:17, Ivan Zhakov wrote:
> On Tue, Mar 8, 2011 at 22:07, Greg Stein <gst...@gmail.com> wrote:
>> On Tue, Mar 8, 2011 at 12:34, Ivan Zhakov <i...@visualsvn.com> wrote:
>>> ...
>>> It seems I found reason why ra_serf is slower than ra_neon. ra_serf
>>> sends CHECKOUT request for _each_ folder and file that being imported,
>>> while ra_neon perform it only for root directory. Maybe DAV experts
>>> can answer which behavior is correct: should WebDAV client CHECKOUT
>>> each resource being modified or it's fine to CHECKOUT only the root of
>>> commit operation?
>>
>> There is no other WebDAV server to talk to, besides our own. That is
>> one of the primary rationales behind the HTTPv2 effort: recognizing
>> reality, rather than living in an theoretical world.
>>
>> Thus, if Neon's approach works with our server, then ra_serf can go
>> ahead and use that approach, too.
>>
> Hi Greg,
> 
> My investigations was wrong: actually ra_neon doesn't send CHECKOUT
> request only for sub-directories and file of directories being added
> in the same commit. We still have to CHECKOUT directories when using
> HTTPv1 to provide baseline.
> 
> Anyway I've implemented ra_neon's approach in r1079967.
> 
> John,
> 
> Could you please provide timings of 'svn import' with updated
> Subversion trunk and Serf trunk?

Apparently fixed!

To a remote 1.6.15 server:
ra_serf: 18 seconds
ra_neon: 16 seconds

To a localhost trunk server:
ra_serf: 18 seconds
ra_neon: 18 seconds

Great work!

John.

-- 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake

Reply via email to