Shall we drop resources ?

Enrico Forestieri forenr at lyx.org
Mon May 18 15:46:02 UTC 2020


On Mon, May 18, 2020 at 05:09:36PM +0200, Pavel Sanda wrote:
> On Mon, May 18, 2020 at 05:03:04PM +0200, Jürgen Spitzmüller wrote:
> > Am Montag, den 18.05.2020, 16:42 +0200 schrieb Pavel Sanda:
> > > What is interesting is not time for math but time for new document!
> > > 
> > > Even with cache I am waiting for about ~5s for new document to
> > > appear.
> > > 
> > > We had to screew something badly because 2.3.x gives ~0.5s (or I am
> > > paying for --enable-debug --enable-profiling).
> > 
> > lyx2lyx and layout2layout doing conversion work on defaults.lyx and the
> > layout files maybe?
> 
> Opening empty file saved in 2.4 has the same problem, so lyx2lyx is out of
> game, not sure about layout2layout part. Do you observe similar in release
> mode (assuming you use it)?

Launch lyx with the --verbose switch and see how many times python is
called for updating layouts. It really slows things down.

-- 
Enrico


More information about the lyx-devel mailing list