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

Re: svn wc&repo performance

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 9 Aug 2011 12:12:17 +0200

On Tue, Aug 09, 2011 at 11:46:06AM +0200, Erik Huelsmann wrote:
> The fact that the 'svn up' takes about a second can't be blamed on SQL Lite
> or any other SQL engine. The Subversion client sleeps 1 second to make sure
> that it's able to detect changes to files: it does timestamp checks and
> returning immediately would allow a short timeframe where modifying the file
> would not result in a new timestamp (namely, modifications within the same
> second, such as the use by scripts).

Good point.

Andreas, to confirm that the sleep for timestamps affects your
measurements you can put this on top of your script:

export SVN_I_LOVE_CORRUPTED_WORKING_COPIES_SO_DISABLE_SLEEP_FOR_TIMESTAMPS=1
Received on 2011-08-09 12:13:13 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.