|
From: | Paolo Bonzini |
Subject: | Re: Autotest: ChangeLog search expensive |
Date: | Tue, 15 Jun 2010 11:46:36 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4 |
On 06/14/2010 11:23 PM, Ralf Wildenhues wrote:
The Autotest testsuite startup code searching for ChangeLog files below the source tree is potentially very expensive. Not sure what the best way out is here, maybe some way to allow the developer to set a fixed string at `make dist' time, or allow to try out some version control command. But say, searching the disk for half a minute due to cold cache, isn't such a great idea.
Finding the ChangeLogs is obsolete nowadays. Most of the time the PACKAGE_VERSION nowadays includes the svn or git revision id, and that is enough to identify the version. I would just scrap that code...
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |