[Lazarus] Performance of GTK 2 and CE

zeljko zeljko at holobit.net
Tue Nov 11 18:27:59 CET 2008


On Tuesday 11 November 2008 18:17, Graeme Geldenhuys wrote:
> On Tue, Nov 11, 2008 at 6:55 PM, Martin Schreiber <fpmse at bluewin.ch> wrote:
> > fpGUI, current trunk, button with caption, compiled with -B -O3
> > Duration: 00:00.305
> > Duration: 00:00.302
>
> Umm, so there is some space for improvement in fpGUI. I'll try and
> find that stray 100ms. :)
>
> >      button2.backgroundColor := clBlue;
> >    fpgApplication.ProcessMessages;
>
> I wonder if the call to ProcessMessages in the cause of the 100ms
> stray... I don't require that line in fpGUI.  Just added it in, and it
> added +-40ms to my timing results.

Same code without ProcessMessages (qt/gtk2)

QT (can you imagine this ;) )
Duration: 00:00.025
Duration: 00:00.025
Duration: 00:00.026
Duration: 00:00.025
Duration: 00:00.025
Duration: 00:00.025
Duration: 00:00.025


GTK2

Duration: 00:00.394
Duration: 00:00.397
Duration: 00:00.390
Duration: 00:00.390
Duration: 00:00.394
Duration: 00:00.393
Duration: 00:00.396

zeljko



More information about the Lazarus mailing list