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

RE: [PATCH] Speedup the python tests (now with log message)

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-06-18 18:38:35 CEST

Same patch.

Log message:
[[[
* subversion/tests/cmdline/svntest/actions.py
  (guarantee_greek_repository): checkout a pristine working copy.
  (make_repo_and_wc): instead of checking out the pristine repos,
   make a copy of the pristine working copy and relocate it.

* subversion/tests/cmdline/svntest/main.py
  (pristine_wc_dir): new global
  (copy_repos): when testing fsfs and test doesn't want a repos with
   a unique UUID, do a tree copy of the pristine repos.
]]]

> -----Original Message-----
> From: Lieven Govaerts [mailto:lgo@mobsol.be]
> Sent: zondag 18 juni 2006 11:11
> To: dev@subversion.tigris.org
> Subject: [PATCH] Speedup the python tests
>
> 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 18:43:44 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.