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

2012-03-30 Thread cobines
2012/3/30 Mattias Gaertner : > I removed the indicator icon. Almost all messages have nowadays a > quickfix. OK. Thanks. With these few changes today now CPU stays mostly at 0-1% during build even with a big messages window open. But on Win32 it still flickers when changes are made to the treevi

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

2012-03-30 Thread Mattias Gaertner
On Fri, 30 Mar 2012 11:13:36 +0300 Juha Manninen wrote: > On Fri, Mar 30, 2012 at 4:48 AM, cobines 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

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

2012-03-30 Thread Juha Manninen
On Fri, Mar 30, 2012 at 4:48 AM, cobines 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 pr

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

2012-03-29 Thread cobines
I posted a patch for the excessive Begin/EndUpdate. http://bugs.freepascal.org/view.php?id=21600 >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

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

2012-03-29 Thread cobines
The output filter that processes compiler output often issues empty BeginUpdate/EndUpdate sequences without actually making any updates. It also updates very often, usually 15 times per second, so it constantly switches in and out of update mode and that causes the whole treeview to be repainted ve

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

2012-03-28 Thread Alexander Klenin
On Thu, Mar 29, 2012 at 16:30, cobines wrote: > 2012/3/28 Alexander Klenin : >> The flicker bothers me as well, Win7, trunk. > > Does it also affect CPU usage? Not sure -- one core is maxed out, but whether it is by compiler (as it should be) or by IDE -- I did not check. -- Alexander S. Klenin

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

2012-03-28 Thread cobines
2012/3/28 Alexander Klenin : > The flicker bothers me as well, Win7, trunk. Does it also affect CPU usage? -- cobines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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

2012-03-28 Thread Alexander Klenin
On Wed, Mar 28, 2012 at 17:38, Graeme Geldenhuys wrote: > On 28 March 2012 07:58, cobines wrote: >> I'm experiencing a following issue on Windows XP. When building >> something with the IDE the compiler messages window flickers and >> lazarus process uses much CPU. > > > I can confirm the excessi

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

2012-03-27 Thread Graeme Geldenhuys
On 28 March 2012 07:58, cobines wrote: > I'm experiencing a following issue on Windows XP. When building > something with the IDE the compiler messages window flickers and > lazarus process uses much CPU. I can confirm the excessive flicker of the Message window when building a project (been see

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

2012-03-27 Thread cobines
Hello. I'm experiencing a following issue on Windows XP. When building something with the IDE the compiler messages window flickers and lazarus process uses much CPU. For example messages window displaying 10 lines takes 30%, 30 lines 90% of CPU. I don't experience this on Linux/QT4; there lazarus