[Gambas-devel] Perfomance differences between gb.gtk and gb.qt components
José Luis Redrejo
jredrejo at ...176...
Mon Dec 3 12:26:15 CET 2007
I attach here a simple example: its a form with a lot of widgets, but only
this code:
PUBLIC SUB Form_Open()
PRINT "before"
WAIT 1
PRINT "after"
END
You can see as it takes ages between printing "before" and "after" in the
console.
The funniest thing: if you add a timer to the form, it behaves right.
This didn't happen before the loop event fixes for gtk.
On the other hand, it's a little ridiculous the thread about the gtk
slowness vs qt speed. Whenever I start qt applications from a Gnome desktop
qt (and specially kde) apps need a long time to start. If you're a kde user
you'll notice the same with gtk applications. It's not a question of which
platform is fastest, it's a question of merging them.
I'm not going to be the advocate of gtk (some of its libraries suck) but
some of the things I've read in the last days are a nonsense.
Cheers.
José L.
2007/11/29, José Luis Redrejo <jredrejo at ...176...>:
>
> I don't know it yet.
>
>
> 2007/11/28, Benoit Minisini < gambas at ...1...>:
> >
> > On mercredi 28 novembre 2007, José Luis Redrejo wrote:
> > > Tomorrow I will try to remove much of the stuff to let you test it.
> > The
> > > application uses several timers, 3 ó 4 processes and creates about 40
> > > usercontrols, half of them are hidden at the beginning, and the other
> > half
> > > are shown, maybe that could be the reason too.
> > > I'll send you a test project a.s.a.p.
> > >
> > > Cheers
> > >
> >
> > I don't understand: is the slowness related to the external processes,
> > to the
> > timer, or to the hidden controls?
> >
> > Regards,
> >
> > --
> > Benoit Minisini
> >
> >
> > -------------------------------------------------------------------------
> > SF.Net email is sponsored by: The Future of Linux Business White Paper
> > from Novell. From the desktop to the data center, Linux is going
> > mainstream. Let it simplify your IT future.
> > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> > _______________________________________________
> > Gambas-devel mailing list
> > Gambas-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-devel
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20071203/629984f7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkPerfomance.tar.gz
Type: application/x-gzip
Size: 22340 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20071203/629984f7/attachment.bin>
More information about the Devel
mailing list