On Thu, May 17, 2012 at 9:45 AM, C. Michael Pilato <[email protected]> wrote: > On 05/17/2012 03:43 AM, Justin Erenkrantz wrote: >> Again, the outstanding optimization to do on the ra_serf side is to >> reduce the number of PROPFIND requests and make that not proportional >> to the number of files - most likely either to the number of >> directories or only when custom properties are set. -- justin > > I've got a patch almost complete that: > > 1. teaches mod_dav_svn to send non-custom properties across the wire even in > skelta-mode, with a flag to say "Hey, there are some custom ones here, too!" > > 2. teaches ra_serf to assume that if the server is sending actual props > across the wire for a given file/dir, it shouldn't perform the PROPFIND > unless specifically told to do so by the server. > > I was toying with this a couple of week's ago when I made the > "fetch-from-the-pristine-cache" changes. I'll polish it up and post ASAP.
Will this avoid the HEAD request too? I assume so. I was playing around with trunk last night after Greg fixed the XML parsing bug I reported. Using that change you committed to avoid fetching pristines, I saw checkout of a branch (for which I already had all of the pristines) dropped from 2:50 to 1:35. The client still sent the server a HEAD and PROPFIND for each file so getting rid of all of those requests would have undoubtedly took a lot of additional time off the command. -- Thanks Mark Phippard http://markphip.blogspot.com/

