Re: Performance regression in export to LaTeX?

2021-12-20 Thread Jean-Pierre Chrétien
Le 20/12/2021 à 12:16, Jürgen Spitzmüller a écrit : Am Montag, dem 20.12.2021 um 10:21 +0100 schrieb Jürgen Spitzmüller: Tried again and (once more) ended up at commit 26ea1e14966c092a7b87c75c19b83a369e79aeb8 Author: Juergen Spitzmueller Date:   Sun Apr 22 19:06:46 2018 +0200     Align

Re: Performance regression in export to LaTeX?

2021-12-20 Thread Scott Kostyshak
On Mon, Dec 20, 2021 at 12:41:03PM +0100, Kornel Benko wrote: > Am Mon, 20 Dec 2021 12:08:01 +0100 > schrieb Jürgen Spitzmüller : > > > Am Montag, dem 20.12.2021 um 11:19 +0100 schrieb Kornel Benko: > > > Same commit as originally found Scott :) > > > > Which is what the "once more" part

Re: Performance regression in export to LaTeX?

2021-12-20 Thread Kornel Benko
Am Mon, 20 Dec 2021 12:08:01 +0100 schrieb Jürgen Spitzmüller : > Am Montag, dem 20.12.2021 um 11:19 +0100 schrieb Kornel Benko: > > Same commit as originally found Scott :) > > Which is what the "once more" part referred to. I missed it. > > BTW, I am surprised by your time-values. Here the

Re: Performance regression in export to LaTeX?

2021-12-20 Thread Jürgen Spitzmüller
Am Montag, dem 20.12.2021 um 10:21 +0100 schrieb Jürgen Spitzmüller: > Tried again and (once more) ended up at > > commit 26ea1e14966c092a7b87c75c19b83a369e79aeb8 > Author: Juergen Spitzmueller > Date:   Sun Apr 22 19:06:46 2018 +0200 > >     Align fontenc with document fonts > > I'll check if

Re: Performance regression in export to LaTeX?

2021-12-20 Thread Jürgen Spitzmüller
Am Montag, dem 20.12.2021 um 11:19 +0100 schrieb Kornel Benko: > Same commit as originally found Scott :) Which is what the "once more" part referred to. > BTW, I am surprised by your time-values. Here the export took 1m 51 > secs before the last > commit, and now I see 57 secs for the export to

Re: Performance regression in export to LaTeX?

2021-12-20 Thread Kornel Benko
Am Mon, 20 Dec 2021 10:21:35 +0100 schrieb Jürgen Spitzmüller : > Am Sonntag, dem 19.12.2021 um 19:08 +0100 schrieb Jürgen Spitzmüller: > > > I can bisect as well. > > > > I gave up. > > Tried again and (once more) ended up at > > commit 26ea1e14966c092a7b87c75c19b83a369e79aeb8 > Author:

Re: Performance regression in export to LaTeX?

2021-12-20 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 19:08 +0100 schrieb Jürgen Spitzmüller: > > I can bisect as well. > > I gave up. Tried again and (once more) ended up at commit 26ea1e14966c092a7b87c75c19b83a369e79aeb8 Author: Juergen Spitzmueller Date: Sun Apr 22 19:06:46 2018 +0200 Align fontenc with

Re: Performance regression in export to LaTeX?

2021-12-20 Thread Jean-Pierre Chrétien
Le 19/12/2021 à 15:45, Jürgen Spitzmüller a écrit : Am Sonntag, dem 19.12.2021 um 15:03 +0100 schrieb Jürgen Spitzmüller: So it's the cprotection checks that seem to cost time. Need to check whether this can be optimized. After 61b8afd893ec we're back at real0m19,685s user0m15,633s

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 19:21 + schrieb José Abílio Matos: > If this proves to be a problem we can speed lyx2lyx code (using > profiling to identify the bottlenecks). No, this doesn't seem to be involved. Jürgen signature.asc Description: This is a digitally signed message part --

Re: Performance regression in export to LaTeX?

2021-12-19 Thread José Abílio Matos
On Sunday, 19 December 2021 17.15.19 WET Jürgen Spitzmüller wrote: > The first thing to check, since this is a 2.3.x file, is how much time > is taken by lyx2lyx. If this proves to be a problem we can speed lyx2lyx code (using profiling to identify the bottlenecks). -- José Abílio--

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jean-Marc Lasgouttes
Le 19/12/2021 à 19:22, Scott Kostyshak a écrit : On Sun, Dec 19, 2021 at 07:08:56PM +0100, Jürgen Spitzmüller wrote: Am Sonntag, dem 19.12.2021 um 18:15 +0100 schrieb Jürgen Spitzmüller: I can bisect as well. I gave up. I'll give it a try. Might not be able to do it until tomorrow though.

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Scott Kostyshak
On Sun, Dec 19, 2021 at 07:08:56PM +0100, Jürgen Spitzmüller wrote: > Am Sonntag, dem 19.12.2021 um 18:15 +0100 schrieb Jürgen Spitzmüller: > > I can bisect as well. > > I gave up. I'll give it a try. Might not be able to do it until tomorrow though. Scott signature.asc Description: PGP

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 18:15 +0100 schrieb Jürgen Spitzmüller: > I can bisect as well. I gave up. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 11:55 -0500 schrieb Scott Kostyshak: > I can try to do another bisect if there's interest. I'm just not sure > this is something even related to a use case. I guess the first thing > to check would be if indeed the issue only shows up with a very long > line. The

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Scott Kostyshak
On Sun, Dec 19, 2021 at 05:39:16PM +0100, Jürgen Spitzmüller wrote: > Am Sonntag, dem 19.12.2021 um 11:37 -0500 schrieb Scott Kostyshak: > > Thanks for checking. Indeed I think my computer has some performance > > issues (especially with I/O, which I think is relevant in this case). > > > > And

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 11:37 -0500 schrieb Scott Kostyshak: > Thanks for checking. Indeed I think my computer has some performance > issues (especially with I/O, which I think is relevant in this case). > > And what do you get with 2.3.0? real0m1,108s user0m1,077s sys 0m0,031s

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Scott Kostyshak
On Sun, Dec 19, 2021 at 05:29:07PM +0100, Jürgen Spitzmüller wrote: > Am Sonntag, dem 19.12.2021 um 17:24 +0100 schrieb Jürgen Spitzmüller: > > Though I am getting > > > > real0m5,935s > > user0m5,739s > > sys 0m0,066s > > > > With this on master (with -e pdflatex). > > (i.e.,

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 17:24 +0100 schrieb Jürgen Spitzmüller: > Though I am getting > > real 0m5,935s > user 0m5,739s > sys 0m0,066s > > With this on master (with -e pdflatex). (i.e., with your testfile) Jürgen signature.asc Description: This is a digitally signed message part

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 11:10 -0500 schrieb Scott Kostyshak: > On master (with your recent fix), I get times like the following: > >   real0m44.676s >   user0m44.575s >   sys 0m0.092s > > I'm still using the following command when testing: > >   time mylyx 2.3.x -e

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Scott Kostyshak
On Sun, Dec 19, 2021 at 03:45:40PM +0100, Jürgen Spitzmüller wrote: > Am Sonntag, dem 19.12.2021 um 15:03 +0100 schrieb Jürgen Spitzmüller: > > So it's the cprotection checks that seem to cost time. Need to check > > whether this can be optimized. > > After 61b8afd893ec we're back at > > real

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 15:03 +0100 schrieb Jürgen Spitzmüller: > So it's the cprotection checks that seem to cost time. Need to check > whether this can be optimized. After 61b8afd893ec we're back at real0m19,685s user0m15,633s sys 0m3,025s Which is still a bit slower than

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
Am Sonntag, dem 19.12.2021 um 11:45 +0100 schrieb Jürgen Spitzmüller: > I try to bisect myself. This leads to: commit b814c4fda732c8b5ee019692eb881c35b9335da6 Author: Juergen Spitzmueller Date: Sun Sep 20 08:45:42 2020 +0200 Fix unnecessary cprotect Note, however, that this is not

Re: Performance regression in export to LaTeX?

2021-12-19 Thread Jürgen Spitzmüller
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,

Re: Performance regression in export to LaTeX?

2021-12-18 Thread Scott Kostyshak
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

Re: Performance regression in export to LaTeX?

2021-12-18 Thread Jean-Pierre Chrétien
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

Performance regression in export to LaTeX?

2021-12-17 Thread Scott Kostyshak
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