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

[PATCH] Speedup the python tests

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-06-18 11:10:43 CEST

Hi,

as discussed on IRC, I worked on a patch to improve the performance of the
python tests. Attached patch implements two changes:
1. replace the svnadmin dump|svnadmin load method to create the greek
repository with a plain treecopy. This only when testing fsfs and when the
test doesn't require a new UUID for the repo.
2. replace the checkout of the working copy per test with a checkout once
per file (eg. commit_tests.py) + a copy of that wc to the sandbox + a switch
--relocate of the copied wc.

All in all, I see on my Mac an improvement of 20% (run completely of a RAM
disk):
make check: from 24'34s to 19'31s
make svncheck: from 26'21s to 21'52s

I'd like to commit it, but want a second opinion first.

regards,

Lieven.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Jun 18 11:16:04 2006

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.