zeljko wrote: > On Tuesday 11 November 2008 18:17, Graeme Geldenhuys wrote: >> On Tue, Nov 11, 2008 at 6:55 PM, Martin Schreiber <[EMAIL PROTECTED]> 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
These test are way to short for a reliable test, they should run at least a minute. Marc _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus