Performance regression in export to LaTeX?

Scott Kostyshak skostysh at lyx.org
Sat Dec 18 18:26:20 UTC 2021


On Sat, Dec 18, 2021 at 12:01:36PM +0100, Jean-Pierre Chrétien wrote:
> Le 18/12/2021 à 03:23, Scott Kostyshak a écrit :
> > If I do
> > 
> >    time lyx -e pdflatex UserGuide.lyx
> > 
> > I get big differences in timings if I do the above with master versus
> > with 2.3.0. I'm not sure these differences necessarily mean a
> > regression. I've definitely compiled master with different compile
> > flags.
> > 
> > Does anyone else see differences when comparing 2.3.0 (or 2.3.x) to
> > master with the above command?
> 
> Hello Scott,
> 
> Here I must run
> 
> time <lyx-version> -e pdf2 UserGuide.lyx
> 
> With 2.3.7dev:
> 
> real	0m9,749s
> user	0m8,459s
> sys	0m1,320s
> 
> 
> With 2.4.0dev (up to date):
> 
> real	0m31,623s
> user	0m22,924s
> sys	0m1,532s
> 
> Ration ~ 3

Thanks, Jean-Pierre. I wonder why you must export to pdf2. Using
"pdflatex" instead gives an error?

In any case, I see roughly the same ratio. I tried to do a bisect and
got to the following:

  commit 26ea1e14966c092a7b87c75c19b83a369e79aeb8
  Author: Juergen Spitzmueller <spitz at lyx.org>
  Date:   Sun Apr 22 19:06:46 2018 +0200
  
      Align fontenc with document fonts

But I'm not so confident in my bisect since performance issues are hard
to bisect. This commit also changes file format and prefs change, so
that might play a role.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211218/d38cba2f/attachment.asc>


More information about the lyx-devel mailing list