You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@wandisco.com> on 2015/02/13 13:55:46 UTC

Re: svn commit: r1659426 - /subversion/trunk/subversion/libsvn_subr/sqlite.c

On 12.02.2015 23:42, ivan@apache.org wrote:
> Author: ivan
> Date: Thu Feb 12 22:42:35 2015
> New Revision: 1659426
>
> URL: http://svn.apache.org/r1659426
> Log:
> Use journal_mode = TRUNCATE for sqlite [1] instead of default DELETE value. 
> It makes svn checkout about 10% faster on Windows at expense of one empty 
> file in .svn. Create/delete file is relatively expensive operation on 
> Windows, especially if indexes/virus scanners are enabled.
>
> The TRUNCATE and DELETE journal modes are compatible, so different
> Subversion clients with different journal mode should just work with same 
> working copy without problems.


Good catch. Should be faster on many other platforms, too.

-- Brane