[Geany-devel] Performance issues?

Colomban Wendling lists.ban at xxxxx
Wed Mar 23 13:12:20 UTC 2011


Hi,

Le 23/03/2011 13:53, Harold Aling a écrit :
> On Wed, Mar 23, 2011 at 13:49, Lex Trotman <elextr at 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 somehow?
>>>
>>
>> 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...).

> 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
"realtimeness" of the tag parsing, but should improve the performances.
Maybe the default delay of 250ms should be changed to a longer one, 250
being too aggressive...

Regards,
Colomban



More information about the Devel mailing list