[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Post release texi2any performance regression
From: |
Patrice Dumas |
Subject: |
Re: Post release texi2any performance regression |
Date: |
Tue, 24 Oct 2023 18:15:06 +0200 |
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
- Post release texi2any performance regression, Gavin Smith, 2023/10/21
- Re: Post release texi2any performance regression,
Patrice Dumas <=
- Re: Post release texi2any performance regression, Gavin Smith, 2023/10/25
- Re: Post release texi2any performance regression, Patrice Dumas, 2023/10/25
- Re: Post release texi2any performance regression, Gavin Smith, 2023/10/26
- Re: Post release texi2any performance regression, Patrice Dumas, 2023/10/26
- Re: Post release texi2any performance regression, Gavin Smith, 2023/10/27
- Re: Post release texi2any performance regression, Patrice Dumas, 2023/10/28
- Re: Post release texi2any performance regression, Gavin Smith, 2023/10/28
- Re: Post release texi2any performance regression, Patrice Dumas, 2023/10/28
- Re: Post release texi2any performance regression, Patrice Dumas, 2023/10/29
- Re: Post release texi2any performance regression, Gavin Smith, 2023/10/30