Re: Shall we drop resources ?

2020-06-07 Thread Jean-Marc Lasgouttes
Le 07/06/2020 à 12:14, Kornel Benko a écrit : Done at ed665a03. Good, one less thing to care about :) JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Shall we drop resources ?

2020-06-07 Thread Kornel Benko
Am Sun, 7 Jun 2020 01:19:37 +0200 schrieb Jean-Marc Lasgouttes : > > 1/ get rid of resources, since nobody complained that we were too slow > > up to now. > > I finally chose this option. Kornel, you will have to remove resource > stuff from cmake. > > JMarc Done at ed665a03.

Re: Shall we drop resources ?

2020-06-06 Thread Jean-Marc Lasgouttes
Le 14/05/2020 à 18:16, Jean-Marc Lasgouttes a écrit : I only noticed now that Resources have been made useless just 3 days after there were introduced  at 33e397dff8792c. This is the result of this thread: https://marc.info/?l=lyx-devel=119283257516050=2 What I do not understand is why André

Re: Shall we drop resources ?

2020-05-29 Thread Pavel Sanda
On Thu, May 28, 2020 at 07:52:16PM +0200, Jean-Marc Lasgouttes wrote: > Le 20/05/2020 ?? 00:06, Pavel Sanda a écrit : > >That's actually one thing I was wondering about. My config is set to classic > >but when running the current master with your patch this option is ignored > >and > >I see tango

Re: Shall we drop resources ?

2020-05-28 Thread Jean-Marc Lasgouttes
Le 20/05/2020 à 00:06, Pavel Sanda a écrit : That's actually one thing I was wondering about. My config is set to classic but when running the current master with your patch this option is ignored and I see tango set. Are you sure? I just checked and do not see that. JMarc -- lyx-devel

Re: Shall we drop resources ?

2020-05-19 Thread Pavel Sanda
On Tue, May 19, 2020 at 11:26:43PM +0200, Jean-Marc Lasgouttes wrote: > Le 18/05/2020 ?? 22:30, Pavel Sanda a écrit : > >On Mon, May 18, 2020 at 05:31:08PM +0200, Jean-Marc Lasgouttes wrote: > >>So we can gain a noticeable time using resources. Do you use svg or png > >>icons? > > > >How will I

Re: Shall we drop resources ?

2020-05-19 Thread Pavel Sanda
On Tue, May 19, 2020 at 11:25:17PM +0200, Jean-Marc Lasgouttes wrote: > Le 14/05/2020 ?? 18:22, Pavel Sanda a écrit : > >On Thu, May 14, 2020 at 06:16:32PM +0200, Jean-Marc Lasgouttes wrote: > >>I see 3 possibilities: > >> > >>1/ get rid of resources, since nobody complained that we were too slow

Re: Shall we drop resources ?

2020-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2020 à 22:30, Pavel Sanda a écrit : On Mon, May 18, 2020 at 05:31:08PM +0200, Jean-Marc Lasgouttes wrote: So we can gain a noticeable time using resources. Do you use svg or png icons? How will I find out? Only the "classic" theme uses png. Is the resource file compatible across

Re: Shall we drop resources ?

2020-05-19 Thread Jean-Marc Lasgouttes
Le 14/05/2020 à 18:22, Pavel Sanda a écrit : On Thu, May 14, 2020 at 06:16:32PM +0200, Jean-Marc Lasgouttes wrote: I see 3 possibilities: 1/ get rid of resources, since nobody complained that we were too slow up to now. I tend to agree with 1. Is it still the case after your testing ?

Re: Shall we drop resources ?

2020-05-19 Thread Pavel Sanda
On Tue, May 19, 2020 at 06:32:37AM +0200, Jürgen Spitzmüller wrote: > Am Montag, den 18.05.2020, 21:59 +0200 schrieb Pavel Sanda: > > You were right, most of the time is taken by layout2layout.py. > > We could update the layouts in master. Given that we know the culprit it's not a problem now.

Re: Shall we drop resources ?

2020-05-18 Thread Jürgen Spitzmüller
Am Montag, den 18.05.2020, 21:59 +0200 schrieb Pavel Sanda: > You were right, most of the time is taken by layout2layout.py. We could update the layouts in master. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Shall we drop resources ?

2020-05-18 Thread Pavel Sanda
On Mon, May 18, 2020 at 05:31:08PM +0200, Jean-Marc Lasgouttes wrote: > So we can gain a noticeable time using resources. Do you use svg or png > icons? How will I find out? Is the resource file compatible across Qt 4/5? Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Shall we drop resources ?

2020-05-18 Thread Pavel Sanda
On Mon, May 18, 2020 at 05:46:02PM +0200, Enrico Forestieri wrote: > Launch lyx with the --verbose switch and see how many times python is > called for updating layouts. It really slows things down. You were right, most of the time is taken by layout2layout.py. Pavel -- lyx-devel mailing list

Re: Shall we drop resources ?

2020-05-18 Thread Kornel Benko
Am Mon, 18 May 2020 17:09:36 +0200 schrieb Pavel Sanda : > 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

Re: Shall we drop resources ?

2020-05-18 Thread Jürgen Spitzmüller
Am Montag, den 18.05.2020, 17:31 +0200 schrieb Jean-Marc Lasgouttes: > Jürgen, returning to your original argument about being able to > override > > icons, I suspect that reading in the order > > 1/ userdir > > 2/ resources > > 3/ sysdir > > would be OK, right? Yes. > Or maybe you do not

Re: Shall we drop resources ?

2020-05-18 Thread Enrico Forestieri
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

Re: Shall we drop resources ?

2020-05-18 Thread Jean-Marc Lasgouttes
Le 18/05/2020 à 17:09, Pavel Sanda a écrit : 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)? Profiling and release modes are basically the same, except that

Re: Shall we drop resources ?

2020-05-18 Thread Jean-Marc Lasgouttes
Le 18/05/2020 à 16:42, Pavel Sanda a écrit : On Fri, May 15, 2020 at 11:10:01AM +0200, Jean-Marc Lasgouttes wrote: Le 14/05/2020 ? 23:40, Jean-Marc Lasgouttes a écrit : Le 14/05/2020 ? 22:29, Jean-Pierre Chrétien a écrit : My computer uses mechanical drives all right, and runs an AMD

Re: Shall we drop resources ?

2020-05-18 Thread Pavel Sanda
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

Re: Shall we drop resources ?

2020-05-18 Thread Jürgen Spitzmüller
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

Re: Shall we drop resources ?

2020-05-18 Thread Pavel Sanda
On Fri, May 15, 2020 at 11:10:01AM +0200, Jean-Marc Lasgouttes wrote: > Le 14/05/2020 ? 23:40, Jean-Marc Lasgouttes a écrit : > >Le 14/05/2020 ? 22:29, Jean-Pierre Chrétien a écrit : > >>My computer uses mechanical drives all right, and runs an AMD > >>biprocessor since 2009. Does it seem enough

Re: Shall we drop resources ?

2020-05-15 Thread Jean-Pierre Chrétien
Le 15/05/2020 à 16:20, Jean-Pierre Chrétien a écrit : I will try now with the second one (I assume that I must revert the first one). Should I reboot again ? Without reboot: if 1 #pmprof# getIcon: 1.38 ms, count=263, total=363.84 ms #if 0 #pmprof# getIcon: 1.05 ms, count=254,

Re: Shall we drop resources ?

2020-05-15 Thread Jean-Pierre Chrétien
Le 15/05/2020 à 11:10, Jean-Marc Lasgouttes a écrit : Le 14/05/2020 à 23:40, Jean-Marc Lasgouttes a écrit : Le 14/05/2020 à 22:29, Jean-Pierre Chrétien a écrit : My computer uses mechanical drives all right, and runs an AMD biprocessor since 2009. Does it seem enough disabled for a test ? If

Re: Shall we drop resources ?

2020-05-15 Thread Jean-Marc Lasgouttes
Le 15/05/2020 à 12:09, Pavel Sanda a écrit : On Fri, May 15, 2020 at 11:10:01AM +0200, Jean-Marc Lasgouttes wrote: Try this one instead (do not worry, recompilation will be limited). Patch missing... P Indeed, thanks. >From f311d844da8a515cae4abe96d7ce24e7737214c0 Mon Sep 17 00:00:00 2001

Re: Shall we drop resources ?

2020-05-15 Thread Pavel Sanda
On Fri, May 15, 2020 at 11:10:01AM +0200, Jean-Marc Lasgouttes wrote: > Try this one instead (do not worry, recompilation will be limited). Patch missing... P -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Shall we drop resources ?

2020-05-15 Thread Jean-Marc Lasgouttes
Le 14/05/2020 à 23:40, Jean-Marc Lasgouttes a écrit : Le 14/05/2020 à 22:29, Jean-Pierre Chrétien a écrit : My computer uses mechanical drives all right, and runs an AMD biprocessor since 2009. Does it seem enough disabled for a test ? If so, what should I do exactly ? Very good platform.

Re: Shall we drop resources ?

2020-05-14 Thread Jean-Marc Lasgouttes
Le 14/05/2020 à 22:29, Jean-Pierre Chrétien a écrit : My computer uses mechanical drives all right, and runs an AMD biprocessor since 2009. Does it seem enough disabled for a test ? If so, what should I do exactly ? Very good platform. Apply this patch (which is work in progress but should

Re: Shall we drop resources ?

2020-05-14 Thread Jean-Pierre Chrétien
Le 14/05/2020 à 20:42, Jean-Marc Lasgouttes a écrit : Le 14/05/2020 à 18:16, Jean-Marc Lasgouttes a écrit : I only noticed now that Resources have been made useless just 3 days after there were introduced  at 33e397dff8792c. This is the result of this thread:

Re: Shall we drop resources ?

2020-05-14 Thread Jean-Marc Lasgouttes
Le 14/05/2020 à 18:16, Jean-Marc Lasgouttes a écrit : I only noticed now that Resources have been made useless just 3 days after there were introduced  at 33e397dff8792c. This is the result of this thread: https://marc.info/?l=lyx-devel=119283257516050=2 What I do not understand is why André

Re: Shall we drop resources ?

2020-05-14 Thread Kornel Benko
Am Thu, 14 May 2020 18:22:23 +0200 schrieb Pavel Sanda : > On Thu, May 14, 2020 at 06:16:32PM +0200, Jean-Marc Lasgouttes wrote: > > I see 3 possibilities: > > > > 1/ get rid of resources, since nobody complained that we were too slow up to > > now. > > I tend to agree with 1. +1 > > 2/ do

Re: Shall we drop resources ?

2020-05-14 Thread Pavel Sanda
On Thu, May 14, 2020 at 06:16:32PM +0200, Jean-Marc Lasgouttes wrote: > I see 3 possibilities: > > 1/ get rid of resources, since nobody complained that we were too slow up to > now. I tend to agree with 1. > 2/ do not install anything in lib/images/ directory, since it is in > resources

Shall we drop resources ?

2020-05-14 Thread Jean-Marc Lasgouttes
I only noticed now that Resources have been made useless just 3 days after there were introduced at 33e397dff8792c. This is the result of this thread: https://marc.info/?l=lyx-devel=119283257516050=2 What I do not understand is why André did not complain more a the time. As it is now,