Performance regression in export to LaTeX?

Jürgen Spitzmüller spitz at lyx.org
Sun Dec 19 10:45:52 UTC 2021


Am Samstag, dem 18.12.2021 um 13:26 -0500 schrieb Scott Kostyshak:
> Thanks, Jean-Pierre. I wonder why you must export to pdf2. Using
> "pdflatex" instead gives an error?

Because -e takes a file format as argument, and the file format for
pdflatex output is pdf2, not pdflatex.

> 
> 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.

I do not see such a huge difference.

At 26ea1e14966c

real	0m18,531s
user	0m13,952s
sys	0m3,168s


At 337ec5830a041 (the commit before):

real	0m16,335s
user	0m11,609s
sys	0m3,259s

So a bit more, but not that much.

Stable gives:

real	0m16,731s
user	0m11,244s
sys	0m4,251s

And current master:

real	0m33,165s
user	0m28,740s
sys	0m3,420s

So the cuplrit must be later (or it's a cumulative increasement).

I try to bisect myself.

Jürgen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211219/ec8f5571/attachment-0001.asc>


More information about the lyx-devel mailing list