Here's my result, for your comparison (AMD Turion 64bit 1xcore, 2gb RAM, OSS Ati driver (no 3D) with EXA on ATI Mobility Radeon X1600:<br><br>GtkPerf 0.40 - Starting testing: Mon Nov 10 23:23:01 2008<br><br>GtkEntry - time: 0,03<br>
GtkComboBox - time: 0,63<br>GtkComboBoxEntry - time: 0,54<br>GtkSpinButton - time: 0,07<br>GtkProgressBar - time: 0,05<br>GtkToggleButton - time: 0,19<br>GtkCheckButton - time: 0,23<br>GtkRadioButton - time: 0,31<br>
GtkTextView - Add text - time: 0,66<br>GtkTextView - Scroll - time: 0,23<br>GtkDrawingArea - Lines - time: 0,46<br>GtkDrawingArea - Circles - time: 0,44<br>GtkDrawingArea - Text - time: 1,17<br>GtkDrawingArea - Pixbufs - time: 0,07<br>
--- <br>Total time: 5,08<br><br><br><div class="gmail_quote">2008/11/10 Ales Katona <span dir="ltr"><<a href="mailto:almindor@gmail.com">almindor@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Please run "gtkperf" program on your end and give results (run it locally).<br><br>If you don't have it in packages, just get libgtk2-dev and compile from sources (./configure && make && make install [as root]).<br>
<br>If you get more than ~10 seconds, something is wrong with your setup (driver/X/theme). I get ~5s here with the OSS driver and EXA. Gtk2 flies quite fast.<br><br><div class="gmail_quote">2008/11/10 Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graemeg.lists@gmail.com" target="_blank">graemeg.lists@gmail.com</a>></span><div>
<div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, Nov 10, 2008 at 7:39 PM, Mark Morgan Lloyd<br>
<div><<a href="mailto:markMLl.lazarus@telemetry.co.uk" target="_blank">markMLl.lazarus@telemetry.co.uk</a>> wrote:<br>
</div><div>> x86 800MHz laptop Debian "Lenny" 0.9.26/2.2.2<br>
> local<br>
> gtk 3.7<br>
> gtk2 13.7<br>
> remote<br>
> gtk 10.0<br>
> gtk2 60.4<br>
<br>
<br>
</div>Wow, even local GTK2 is *way* slower than GTK1. So I really wasn't<br>
imagining it when I switch Lazarus IDE to GTK2.<br>
<br>
I was curious to see what it does on my system. So I created a test<br>
based on what you said. I used GTK1, GTK2 and fpGUI toolkit. In all<br>
three tests all component where the exact same size and contained the<br>
exact same text. Here are my results from the following code:<br>
<br>
-----------------------------------------------<br>
procedure TForm1.Button1Click(Sender: TObject);<br>
var<br>
i: integer;<br>
s: TDateTime;<br>
e: TDateTime;<br>
begin<br>
s := Now;<br>
for i := 1 to 1000 do<br>
begin<br>
if (i mod 2) = 0 then<br>
Panel1.Color := clRed<br>
else<br>
Panel1.Color := clBlue;<br>
Application.ProcessMessages;<br>
end;<br>
e := Now - s;<br>
writeln('Duration: ' + FormatDateTime('nn:ss.zz', e));<br>
end;<br>
-----------------------------------------------<br>
<br>
Clearly GTK2 is as speedy as a snail !!! :-(<br>
<br>
<br>
graemeg@graemeg-laptop:speed$ ./project1_gtk1<br>
Duration: 00:00.229<br>
Duration: 00:00.219<br>
Duration: 00:00.231<br>
Duration: 00:00.238<br>
Duration: 00:00.306<br>
graemeg@graemeg-laptop:speed$ ./project1_gtk2<br>
Duration: 00:01.127<br>
Duration: 00:01.065<br>
Duration: 00:01.158<br>
Duration: 00:01.055<br>
Duration: 00:01.119<br>
graemeg@graemeg-laptop:speed$ ./project1_fpgui<br>
Duration: 00:00.275<br>
Duration: 00:00.275<br>
Duration: 00:00.274<br>
Duration: 00:00.276<br>
Duration: 00:00.276<br>
<div><br>
<br>
<br>
Regards,<br>
- Graeme -<br>
<br>
<br>
_______________________________________________<br>
fpGUI - a cross-platform Free Pascal GUI toolkit<br>
<a href="http://opensoft.homeip.net/fpgui/" target="_blank">http://opensoft.homeip.net/fpgui/</a><br>
_______________________________________________<br>
</div><div><div></div><div>Lazarus mailing list<br>
<a href="mailto:Lazarus@lazarus.freepascal.org" target="_blank">Lazarus@lazarus.freepascal.org</a><br>
<a href="http://www.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://www.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div></div></div><font color="#888888"><br><br clear="all"><br>-- <br>Feel the power of Opensource.<br>Feel the power of Free Pascal.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Feel the power of Opensource.<br>Feel the power of Free Pascal.<br>