[Lazarus] LazReport

Lee Jenkins lee at datatrakpos.com
Tue May 13 22:13:05 CEST 2008


Graeme Geldenhuys wrote:
> OK, so now the Sprite example runs smoothly under GTK1 as well. Thanks 
> Mattias.  :-)
>
> One more problem: CPU usage!
>
> Under my Linux system (Intel P4 2.40GHz with 1Gig memory and Ubuntu 7.10 
> distro), xload shows 100% cpu load. Top shows 8.7-9.3% which is damn 
> high. I don't move or resize the window and don't touch the mouse while 
> the demo is running.
>
> Running the Sprite demo ported to fpGUI (on the same system as above), 
> xload and top shows the sprite demo at 0.0-0.3% cpu usage, like most 
> (almost idle) applications. Plus, in this demo the timer is set at to 
> default of 50ms, whereas the LCL sprite demo timer is set at 100ms.
>
> What is causing the high CPU usage in the Lazarus LCL sprite demo?
>   
Come on boys. Is a fast moving of one bitmap over another bitmap is the 
goal and a real application of lazarus? Better spend your efforts in 
fixing lcl bugs :)

Best regards,
Paul Ishenin.



More information about the Lazarus mailing list