autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autotest speedups


From: Ralf Wildenhues
Subject: Re: autotest speedups
Date: Mon, 8 Oct 2007 22:29:41 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Paolo,

* Paolo Bonzini wrote on Thu, Oct 04, 2007 at 04:35:22PM CEST:
> 
> Anybody figured out where autotest spends time *at runtime*?  I tried to 
> track something there, but never really got anywhere.

Easy: parsing.  Even with
  cd autoconf/tests && ./testsuite 1

the shell needs to parse the 76000+ code lines for all of the 300+ tests
because they are contained within one shell `case' statement.  Sourcing
per-test files could speed this up, but having one single file instead
of a whole bunch is a design decision resp. feature of Autotest.  Well,
maybe whoever implements parallel Autotest tests will also change this
(or provide an option to change it... ;-)

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]