[Lazarus] Performance of GTK 2 and CE
zeljko
zeljko at holobit.net
Tue Nov 11 18:19:53 CET 2008
On Tuesday 11 November 2008 17:55, Martin Schreiber wrote:
> On Tuesday 11 November 2008 14.09:08 Martin Schreiber wrote:
> > Some more competition: ;-)
> >
> > Suse 11 32bit, AMD Athlon XP3000+ 2.15GHz, ATI Radeon 9200SE
Fedora 3 (hardly updated) 32 bit, kernel 2.6.20, Intel CoreDuo 2.4 ....
ok here is qt/gtk2 comparision, current trunk, don't know what are you talking
about but here are results ;)
QT:
Duration: 00:00.333
Duration: 00:00.332
Duration: 00:00.330
Duration: 00:00.326
Duration: 00:00.326
Duration: 00:00.327
Duration: 00:00.326
Duration: 00:00.326
GTK2:
Duration: 00:00.735
Duration: 00:00.736
Duration: 00:00.738
Duration: 00:00.736
Duration: 00:00.736
Duration: 00:00.735
Duration: 00:00.734
Duration: 00:00.735
qt/gtk2 code:
var
i: integer;
s: TDateTime;
e: TDateTime;
begin
s := Now;
for i := 1 to 1000 do
begin
if (i mod 2) = 0 then
button2.Color := clRed
else
button2.Color := clBlue;
Application.ProcessMessages;
end;
e := Now - s;
writeln('Duration: ' + FormatDateTime('nn:ss.zz', e));
end;
zeljko
More information about the Lazarus
mailing list