On Sat, Oct 21, 2023 at 07:17:32PM +0100, Gavin Smith wrote:
> Typical texi2any run times are somewhat longer now, compared with the
> last released version ("time" output below) - roughly 5% longer.
> 
> Any idea what's responsible for the longer run times?  At what point
> with the new code did the performance get worse?

Maybe it is because of the C code that is run in parallel with perl code?
That would be my first guess.  Hopefully, the default will be not to run
C and perl in parallel for the release.  Maybe you could compare with
a run with 
TEXINFO_XS=require
TEXINFO_XS_CONVERT=1
which would use only C if possible.

But there could still be places where both are still run, but hopefully
should be temporary.

Also, running the C code requires some more perl code, mainly to encode
strings in UTF-8 before passing to C, this could add some time to run,
but I doubt that it could be important, as in general this is only done
once.

-- 
Pat

Reply via email to