bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib-tool.py speedup


From: Bruno Haible
Subject: Re: gnulib-tool.py speedup
Date: Sun, 21 Apr 2024 00:50:32 +0200

Simon Josefsson wrote:
> jas@kaka:~/src/oath-toolkit$ time make -f cfg.mk 
> ...
> real  0m48,169s
> user  0m49,900s
> sys   0m9,658s
> jas@kaka:~/src/oath-toolkit$ export GNULIB_TOOL_IMPL=py
> jas@kaka:~/src/oath-toolkit$ time make -f cfg.mk 
> ...
> real  0m0,704s
> user  0m0,527s
> sys   0m0,179s
> jas@kaka:~/src/oath-toolkit$

I see similar speedups, using the test suite:

On Linux:                                   On Cygwin 2.9.0:

in create-tests: time ./test-all.sh         in create-tests: time ./test-all.sh
  sh: 1225 sec                                sh: 27406 sec
  py: 155 sec                                 py: 2400 sec
  => about 8 times faster                   => more than 11 times faster

in import-tests: time ./test-wget2-1.sh     in import-tests: time 
./test-wget2-1.sh
  sh: 31.9 sec                                sh: 831 sec
  py: 0.35 sec                                py: 43 sec
  => more than 91 times faster              => more than 19 times faster

Bruno






reply via email to

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