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

Re: Parallelizing the test suite

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2006-10-06 18:50:09 CEST

On 10/6/06, David Glasser <glasser@mit.edu> wrote:
> Some very superficial experiments [1] seem to show that running
> multiple tests in parallel can give a reasonable speedup. Somebody
> with more free time than myself may want to look into (optionally)
> running tests in parallel, either at the level of running several
> python scripts at the same time, or more likely making the test runner
> fork itself. It's not trivial (organizing the success and failure
> results being the hardest part) but it could speed up the test suite,
> which is always a good thing. (Not to mention potentially finding
> weird server concurrency bugs.)
Sounds good. My feeling sayes me that test-suite spend most time in
sleep_for_timestamp which is executed after each svn operation. I've
made test to remove this sleep -- it's speedup testsuite twice. So
I'll very happy if somebody implement parallelizing testsute.

> [1] Specifically, timing "./prop_tests.py & sleep 1; ./diff_tests.py"
> vs "./prop_tests.py; ./diff_tests.py", which took 1m44 and 2m20s
> respectively. They do fight a little over the Greek repo in the
> former.
> --

Ivan Zhakov
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 6 18:51:11 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.