bug-texinfo
[Top][All Lists]
Advanced

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

Re: Post release texi2any performance regression


From: Gavin Smith
Subject: Re: Post release texi2any performance regression
Date: Sat, 4 Nov 2023 16:06:05 +0000

On Sat, Nov 04, 2023 at 02:50:36PM +0100, Patrice Dumas wrote:
> On Sat, Nov 04, 2023 at 01:18:58PM +0000, Gavin Smith wrote:
> > On Sat, Oct 28, 2023 at 05:42:51PM +0100, Gavin Smith wrote:
> > > I managed to disable a lot of the new XS code and get the test suite
> > > to pass.  I had to leave the XS translation module active due to the
> > > coupling that now exists between it and the XS parser.
> > 
> > This patch wasn't working any more so I updated it.  "make check" passes
> > with the patch below.
> 
> At that point, using a new env variable to use perl for
> structuring/transformations would be very easy based on your patch.
> If you give a name, I can do it.

Would TEXINFO_XS_STRUCTURE be ok?

> > Applying this patch slows the program down by about 3% now.  However,
> > it could still be useful for investigating why development texi2any is
> > still significantly slower (about 5%) than texi2any 7.1.  It seems that
> > even if the new XS structuring/other modules speed the program up slightly,
> > there must be slowdown somewhere else.
> 
> To me the most likely reason would be that simple_parser has been
> removed, such that calls of gdt/pgdt from perl are slower.

Thanks, I'll try to investigate this.



reply via email to

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