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

Re: [RFC] Stop sleeping for timestamps when running tests

From: Mattias Engdegård <mattias_at_virtutech.se>
Date: 2007-03-12 13:32:18 CET

"Erik Huelsmann" <ehuels@gmail.com> writes:

>I added (locally) a test to svn_sleep_for_timestamps() to check an
>environment variable whether or not to sleep for stamps. When running
>the test suite with that variable set to the right value,
>basic_tests.py took 24seconds.

Can't the client determine that the size has been changed and deduce
that it does not need to sleep? Since it is a fairly common case, it
would improve performance generally instead just being a test hack.

It would also be nice if the client could take advantage of
high-resolution timestamps when these are available. I suppose the
hard part is determining whether the underlying file system supports
it, even when the interface is present.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 12 13:33:08 2007

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

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