[Lazarus] IDE Messages window uses much CPU when building a project on Win32

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 30 10:38:52 CEST 2012


On Fri, 30 Mar 2012 11:13:36 +0300
Juha Manninen <juha.manninen62 at gmail.com> wrote:

> On Fri, Mar 30, 2012 at 4:48 AM, cobines <cobines at gmail.com> wrote:
> 
> > I posted a patch for the excessive Begin/EndUpdate.
> > http://bugs.freepascal.org/view.php?id=21600
> >
> 
> I applied this one, too. It looks good although I didn't measure how much
> time it saves during build.
> 
> 
> 
> > >From my tests disabling displaying progress has almost no impact on
> > CPU usage, so I'm not doing anything with it.
> >
> > However I found that the quick fix icons that are updated from timer
> > or OnIdle while building amount to half of CPU usage, so I would like
> > to add an option to disable them. I have only found option to disable
> > the note/hint/warning icons.
> > Is it enough to only disable displaying the icons or would I need to
> > disable some functionality as well, like the "Hide message via
> > directive" menu? I don't use this feature so I don't know if icons are
> > indispensable for it to work.
> >
> 
> Maybe the option used for other icons could also be used for quick fix
> icons. (?)
> I don't know anything about these icons. Someone else should comment on
> this one.

I removed the indicator icon. Almost all messages have nowadays a
quickfix.

Mattias




More information about the Lazarus mailing list