On Sun, Oct 22, 2023 at 09:06:39PM +0300, Eli Zaretskii wrote: > Thanks. Looks like the slowdown is in XSParagraph: without it, I get > 21.8 sec, only slightly slower than Texinfo 7.0.3. Disabling MiscXS > as well yields almost the same time (0.05 sec longer) as with MiscXS, > and disabling Parsetexi gets us back to 37 sec, the same as with > TEXINFO_XS=omit.
It does effect a slight speedup in my testing. A typical timing with MiscXS enabled (7.1) real 0m5.570s user 0m5.395s sys 0m0.168s A typical timing with MiscXS disabled (7.1): real 0m5.745s user 0m5.555s sys 0m0.181s That comes out as about a 3% prolongation. If as I suspect dTHX is slower on MS-Windows then the overhead of calling these XS functions may swamp the otherwise shorter execution times.