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

Re: Running the test suite faster.

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-11-03 21:15:16 CET

"Justin Erenkrantz" <justin@erenkrantz.com> writes:
> I'm running it under oprofile to see if something jumps out, but I
> doubt that the CPU or HDD differences should account for 20 seconds
> vs. 1:30 for basic_tests - something else is going on. And I know
> it's not entropy-based as the times are consistent between
> /dev/urandom and /dev/random. -- justin

In IRC just now, I did some testing for Justin on my own machine:

   - http://www.red-bean.com/kfogel/thinkpad-r60-debian.html
   - HEAD of Subversion trunk
   - Python 2.4.4
   - subversion/tests/cmdline/svn-test-work mounted as ramdisk

Timing just basic_tests.py over ra_local, we saw:

   With /dev/random:
     real 3m40.892s
     user 0m10.793s
     sys 0m7.792s

   With /dev/urandom:
     real 0m16.539s
     user 0m9.517s
     sys 0m7.108s

It's amazing what the addition of one little letter 'u' can do!

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 3 21:15:30 2007

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