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