Re: [Geany-devel] Performance issues?

2011-04-11 Thread Colomban Wendling
Le 28/03/2011 22:37, Colomban Wendling a écrit : [...] Well its not really dependency aware, in the non-real-time version it does it by reparseing *all* files in the workspace when any one of them is saved, so there can be no inconsistency. It is the fact that its doing all of them on

Re: [Geany-devel] Performance issues?

2011-03-28 Thread Colomban Wendling
Hi, Le 28/03/2011 05:10, Lex Trotman a écrit : On 28 March 2011 12:35, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: On 27.03.2011 05:15, Lex Trotman wrote: The question is can problems be introduced by not reparsing things, eg if we are editing a .h file, can that affect the

Re: [Geany-devel] Performance issues? [PATCH]

2011-03-28 Thread Colomban Wendling
Le 27/03/2011 13:23, Yura Siamashka a écrit : On Sun, 27 Mar 2011 14:15:45 +1100 Lex Trotman ele...@gmail.com wrote: 1) geanyprj act only on document-open, document-save, document-activate callbacks 2) geanyprj add a lot of TMWorkObject objects using tm_workspace_add_object() to Geany

Re: [Geany-devel] Performance issues? [PATCH]

2011-03-28 Thread Lex Trotman
On 29 March 2011 08:29, Yura Siamashka yura...@gmail.com wrote: On Mon, 28 Mar 2011 23:00:54 +0200 Colomban Wendling lists@herbesfolles.org wrote: Anyway here is patch that make Geany don't parse tags when user is actively typing. I'm not sure about this patch, because it is then

Re: [Geany-devel] Performance issues?

2011-03-28 Thread Lex Trotman
On 29 March 2011 07:37, Colomban Wendling lists@herbesfolles.org wrote: Hi, Le 28/03/2011 05:10, Lex Trotman a écrit : On 28 March 2011 12:35, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: On 27.03.2011 05:15, Lex Trotman wrote: The question is can problems be introduced

Re: [Geany-devel] Performance issues?

2011-03-28 Thread Harold Aling
On Tue, Mar 29, 2011 at 00:04, Lex Trotman ele...@gmail.com wrote: Agreed. However the patch would *always* disable updating parent, what we probably don't want (though, not really sure what it'd change). So I have modified it and committed it to SVN (r5642). Ok, oh well, as above, I'm not

Re: [Geany-devel] Performance issues? [PATCH]

2011-03-27 Thread Yura Siamashka
Hi On Sun, 27 Mar 2011 14:15:45 +1100 Lex Trotman ele...@gmail.com wrote: 1) geanyprj act only on document-open, document-save, document-activate callbacks 2) geanyprj add a lot of TMWorkObject objects using tm_workspace_add_object() to Geany And tm_workspace_add_object sets the

Re: [Geany-devel] Performance issues?

2011-03-26 Thread Yura Siamashka
On Wed, 23 Mar 2011 23:49:41 +1100 Lex Trotman ele...@gmail.com wrote: Thats a bit harder, probably Yura, the plugin writer will need to take a look at the problem I'd say. I looked at the problem: 1) geanyprj act only on document-open, document-save, document-activate callbacks 2) geanyprj

Re: [Geany-devel] Performance issues?

2011-03-26 Thread Lex Trotman
On 27 March 2011 12:31, Yura Siamashka yura...@gmail.com wrote: On Wed, 23 Mar 2011 23:49:41 +1100 Lex Trotman ele...@gmail.com wrote: Thats a bit harder, probably Yura, the plugin writer will need to take a look at the problem I'd say. I looked at the problem: 1) geanyprj act only on

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Lex Trotman
On 23 March 2011 21:24, Harold Aling ge...@sait.nl wrote: Dear devs, Just pressing and holding a key pauses every ~10 characters. This is only the case in a document when working on a pre-existing file, a new document is as fast as can be. What could be causing this? Does anybody else have

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Frank Lanitz
Am 23.03.2011 13:22, schrieb Lex Trotman: I would suggest that there may be an interaction between real-time tag parsing that was recently added to the SVN version and Geanyprj that makes heavy use of tags. Unfortunately there doesn't seem to be any documentation on real-time parsing or any

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Lex Trotman
By reading the code I think you mean editor preferences, completions tab, symbol list update frequency set to zero. Yup, that fixed the lag! But it also diabled the real-time parser, which was a welcome addition. Can this be fixed somehow? Thats a bit harder, probably Yura, the plugin

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Lex Trotman
On 23 March 2011 23:49, Lex Trotman ele...@gmail.com wrote: By reading the code I think you mean editor preferences, completions tab, symbol list update frequency set to zero. Yup, that fixed the lag! But it also diabled the real-time parser, which was a welcome addition. Can this be fixed

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Harold Aling
On Wed, Mar 23, 2011 at 13:49, Lex Trotman ele...@gmail.com wrote: By reading the code I think you mean editor preferences, completions tab, symbol list update frequency set to zero. Yup, that fixed the lag! But it also diabled the real-time parser, which was a welcome addition. Can this

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Colomban Wendling
Hi, Le 23/03/2011 13:53, Harold Aling a écrit : On Wed, Mar 23, 2011 at 13:49, Lex Trotman ele...@gmail.com wrote: By reading the code I think you mean editor preferences, completions tab, symbol list update frequency set to zero. Yup, that fixed the lag! But it also diabled the real-time

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Colomban Wendling
Le 23/03/2011 13:36, Lex Trotman a écrit : On 23 March 2011 23:32, Frank Lanitz fr...@frank.uvena.de wrote: Unfortunately there doesn't seem to be any documentation on real-time parsing or any way to turn it off to see if thats the case. There is some tooltip info. Turn it to 0 inside

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Harold Aling
On Wed, Mar 23, 2011 at 14:12, Colomban Wendling lists@herbesfolles.org wrote: In the mean time, I'll just disable the real time parsing. You can try increasing the minimal delay between two updates to reduce the lag (the very preference you set to 0). Doing so will reduce the

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Lex Trotman
Thats a bit harder, probably Yura, the plugin writer will need to take a look at the problem I'd say. Could it be that the real-time parser reparses all files in the project instead of just the current file? No, it doesn't (or then it's a very strange bug I have to fix...). Since

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Lex Trotman
Even when not triggered that often, the lag is really annoying... Reminds me of the Eclipse editor an ex-collegue of mine used: the ultimate test for blind typing! Eclipse was always one word behind... ;) Its very mean saying Geany is like Eclipse [tantrum] :-( I use geany for it's speed

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Harold Aling
On Wed, Mar 23, 2011 at 14:50, Lex Trotman ele...@gmail.com wrote: Even when not triggered that often, the lag is really annoying... Reminds me of the Eclipse editor an ex-collegue of mine used: the ultimate test for blind typing! Eclipse was always one word behind... ;) Its very mean saying

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Colomban Wendling
Le 23/03/2011 14:14, Colomban Wendling a écrit : Le 23/03/2011 13:36, Lex Trotman a écrit : On 23 March 2011 23:32, Frank Lanitz fr...@frank.uvena.de wrote: Unfortunately there doesn't seem to be any documentation on real-time parsing or any way to turn it off to see if thats the case. There

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Colomban Wendling
Le 23/03/2011 14:25, Lex Trotman a écrit : Thats a bit harder, probably Yura, the plugin writer will need to take a look at the problem I'd say. Could it be that the real-time parser reparses all files in the project instead of just the current file? No, it doesn't (or then it's a very

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Lex Trotman
Done. However, I'm not a really good writer of this kind of documentation... any comments and/or improvements are welcome :) Couple of minor comments (I've used lines from the Geany.txt diff to identify them, hence the + signs.): +Tags for each document are parsed whenever a file is loaded or

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Lex Trotman
On 24 March 2011 10:28, Lex Trotman ele...@gmail.com wrote: Done. However, I'm not a really good writer of this kind of documentation... any comments and/or improvements are welcome :) Also just realised that the image needs to be updated to show the new field. Cheers Lex

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Colomban Wendling
Le 24/03/2011 00:28, Lex Trotman a écrit : Done. However, I'm not a really good writer of this kind of documentation... any comments and/or improvements are welcome :) Couple of minor comments (I've used lines from the Geany.txt diff to identify them, hence the + signs.): +Tags for each

Re: [Geany-devel] Performance issues?

2011-03-23 Thread Colomban Wendling
Le 24/03/2011 01:57, Lex Trotman a écrit : On 24 March 2011 10:28, Lex Trotman ele...@gmail.com wrote: Done. However, I'm not a really good writer of this kind of documentation... any comments and/or improvements are welcome :) Also just realised that the image needs to be updated to show