Improving the speed of make test
abartlet at samba.org
Mon Mar 5 13:38:44 MST 2012
On Mon, 2012-03-05 at 09:23 +0100, Volker Lendecke wrote:
> On Mon, Mar 05, 2012 at 06:36:57PM +1100, Andrew Bartlett wrote:
> > Jelmer and others interested in selftest:
> > A while back, I started doing some profiling to determine where the time
> > is spent in 'make test', using 'perf'.
> > I was surprised to find that 15% of our time is spent in routines
> Is that total time or CPU time? Quite some of the tests in
> the file server area look at or depend on timeout behaviour.
> The tests for share modes for example come to mind. With
> some care (independent file names), they could probably very
> well run in parallel and gain quite a bit of total time.
I presume it was CPU time, but and I agree a lot of our tests spend most
of their time waiting (intentionally or otherwise).
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical