[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autotest: ChangeLog search expensive
From: |
Eric Blake |
Subject: |
Re: Autotest: ChangeLog search expensive |
Date: |
Fri, 02 Jul 2010 13:54:47 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.5 |
On 06/14/2010 03: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.
I still find the ChangeLog snippet useful, but seldom see packages with
one ChangeLog per directory (these days, the fashion is to have just one
ChangeLog in the top level for all subdirectories). So I'm going to
follow this up with a patch that does a simple existence test of the top
ChangeLog, which removes the find invocation and should provide some
speedup.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: Autotest: ChangeLog search expensive,
Eric Blake <=