automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCHES] {master} Optimize tests `instspc-*.test' for speed.


From: Stefano Lattarini
Subject: Re: [PATCHES] {master} Optimize tests `instspc-*.test' for speed.
Date: Thu, 2 Dec 2010 18:17:49 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

Hello automakers.

Since Savannah is up again now, I'm pinging this patch.

I'll wait the customary 72 hours (until sunday evening) before
pushing, if there are no objections.

Regards,
  Stefano

On Sunday 14 November 2010, Stefano Lattarini wrote:
> Finally, here it is the promised patch optimizing the `instspc-*.test'
> tests for speed, as suggested by Ralf in a previous thread:
>  <http://lists.gnu.org/archive/html/automake-patches/2010-09/msg00172.html>
> 
> This patch seems to truly improve the speed of the affected tests, at
> least according to these superficial measurements:
> 
>  ## PATCH APPLIED ##
>  $ time for i in 1 2 3; do
>  >   rm -rf instspc-tests.dir;
>  >   make check TESTS="`echo instspc*.test`";
>  > done
>  ...
>  real    18m13.248s
>  user    5m26.844s
>  sys     4m38.737s
>  $ time (rm -rf instspc-tests.dir \
>  >  && make check -j4 TESTS="`echo instspc*.test`")
>  ...
>  real    4m8.431s
>  user    1m54.875s
>  sys     1m34.030s
> 
>  ## PATCH NOT APPLIED ##
>  $ time for i in 1 2 3; do
>  >   make check TESTS="`echo instspc*.test`";
>  > done
>  ...
>  real    26m57.287s
>  user    16m36.230s
>  sys     7m15.531s
>  $ time make check -j4 TESTS="`echo instspc*.test`"
>  ...
>  real    9m3.231s
>  user    5m52.978s
>  sys     2m20.049s
> 
> 
> There is also a follow-up patch (very minor) which prevents the
> `instspc-*.test' tests from creating an unused source file.
> 
> OK for master?
> 
> Regards,
>    Stefano
>



reply via email to

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