bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib-tool.py: Correct type hint and doc string.


From: Bruno Haible
Subject: Re: gnulib-tool.py: Correct type hint and doc string.
Date: Sun, 04 Aug 2024 02:49:49 +0200

Collin Funk wrote:
> > The latter invocation should list hamt-tests.
> 
> Sure, no problem. I assume that since the 'module-tests' is implicit we
> just have to check for the existence of f'{self.name}-tests'.

Yes.

> > does not complete within a reasonable time.
> 
> Yeah, that is the main reason that I wanted to look at it. You
> implemented this after Paul wanted to use it for 'c99' [1]. I noticed
> that one was very slow yesterday.
> 
>     $ time gnulib-tool --extract-recursive-dependents stdlib
>     [...]
>     real        0m52.093s
>     user        0m10.577s
>     sys         0m45.718s
> 
>     $ time gnulib-tool --extract-recursive-dependents c99
>     [...]
>     real        1m36.230s
>     user        0m20.062s
>     sys         1m24.070s

Whereas a single --extract-dependents invocation is fast:

  $ time ./gnulib-tool --extract-dependents lock
  asyncsafe-spin-tests
  call_once-tests
  clean-temp
  clean-temp-simple
  cond
  cond-tests
  fatal-signal
  localename
  localename-unsafe
  mtx-tests
  random
  regex
  ssfmalloc
  strerror_r-posix
  thread
  tls-tests

  real    0m0,163s
  user    0m0,099s
  sys     0m0,064s

Bruno






reply via email to

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