RE: Fresh checkout vs 'svn upgrade': How good is good enough?
From: Bert Huijben <bert_at_qqmail.nl>
Date: Sun, 19 Jun 2011 00:18:48 +0200
> -----Original Message-----
The documented performance improvement is on the combination of FILE_ATTRIBUTE_TEMPORARY combined with FILE_FLAG_DELETE_ON_CLOSE.
I don't think we can use this flag if we want to refer to these files from the workingqueue, which we do to all tempfiles from libsvn_wc during update and checkout.
They would be gone once you call svn cleanup.
But I'm not sure if this also helps reducing the time to create the file or only in the performance writing to (and reading back from) the file. In my measurements it is the creation that causes the real performance hit on our current temp and lock files, while the documented performance improvement is in (not) writing the data in the file to disk. And a tempfile with these attributes just has a directory entry like any other file, so it might have the same bad performance characteristics here.
This is an archived mail posted to the Subversion Dev mailing list.