[Lazarus] Performance of GTK 2 and CE

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Thu Nov 6 12:24:13 CET 2008

AleŇ° Katona wrote:
> I can't comment on CE, but gtk2 performance is very display driver related.
> I've recently moved to freeBSD 64bit and was forced to use the OSS radeon driver, and my gtkperf result went from ~55s to ~5s.
> Try gtkperf on your machine and see what you get. If any test takes more than few seconds, there's something wrong, either your theme, or your driver.
> Gtk2 isn't the fastest kid on the block, but it's not that slow either, if the drivers perform. (you need to use 2D accel, like EXA)

Thanks, I'll investigate later and report back. gtkperf doesn't appear 
to be packaged for Debian yet, so I'll need to build from source making 
sure I can test both gtk 1 and 2 (does it actually support both)?

I've got the same poor- in fact apallingly unusable- gtk performance in 
the Lazarus IDE on multiple machines with both 0.9.26 and 0.9.24, with 
FPC 2.2.2 and 2.2.0, with Debian "Etch" and "Lenny", and- in cases where 
I've been able to test- both x86 and SPARC.

The common element is that in all cases I'm running X over the LAN, but 
while Lazarus is fairly snappy with gtk 1 if I recompile it for gtk 2, 
either from the command line or using its internal rebuild facility, 
performance plummets: I have to wait for about a minute before a 
component dropped onto a form appears.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list