LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   GTK slow program execution (https://www.linuxquestions.org/questions/programming-9/gtk-slow-program-execution-343724/)

exvor 07-16-2005 08:11 AM

GTK slow program execution
 
Hello everyone

this is not really bashing or anything but why does gtk+-2.0 programs start very slowly?


i have created basic apps with only 2 buttons and it takes about 3 or 4 seconds to start.


is this normal with this graphical library or am i compiling them wrong?


im running on a ibm thinkpad 560x with 64mb ram

other apps do start faster so i know its not due to system performance

clausi 07-17-2005 07:06 AM

Re: GTK slow program execution
 
Quote:

Originally posted by exvor
im running on a ibm thinkpad 560x with 64mb ram
I guess your using KDE or another non-GTK+ graphical enviroment. Thus, when you start your small GTK+ application, it will need to load all the shared libraries. Since your RAM is already full, it will probably start to swap.

Try to start an existing GTK+ application first and then your app. It should start faster.

exvor 07-17-2005 09:02 AM

Yes im running flux box thats what it looks like it does tho loads all the shared libraries but it does this every time.


Just wondering if it was normal.

xlib is much faster tho but that may be because fluxbox uses it.


thanks for the reply


All times are GMT -5. The time now is 08:05 AM.