bug-texinfo
[Top][All Lists]
Advanced

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

Re: bad makeinfo slowdown


From: Patrice Dumas
Subject: Re: bad makeinfo slowdown
Date: Sun, 7 Nov 2010 22:21:29 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Nov 05, 2010 at 09:55:10PM -0700, Per Bothner wrote:
> The new perl-based makeinfo/texi2any is almost 2 order of
> magnitude slower than the old one:
> 
> $ time /usr/bin/makeinfo  -I .  -o kawa.info kawa.texi
> 
> real  0m0.174s
> user  0m0.147s
> sys   0m0.010s
> 
> $ time ~/bin/makeinfo  -I .  -o kawa.info kawa.texi
> 
> real  0m14.026s
> user  0m13.610s
> sys   0m0.150s
> 
> That seems a shame.

The new Parser seem to be better:

time makeinfo ~/src/texinfo/texi2html/test/manuals/texinfo.texi

real    0m0.930s
user    0m0.448s
sys     0m0.028s

time perl -w -x -I ~/src/texinfo/tp/ ~/src/texinfo/tp/structuring.pl 
~/src/texinfo/texi2html/test/manuals/texinfo.texi > res.txt

real    0m4.646s
user    0m4.528s
sys     0m0.056s

With the caveat that the time will be more than that, something
like twice, when it is finished.  So more like 20 time slower.

-- 
Pat



reply via email to

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