mallum> Any ideas on decreasing the time it takes for a pygtk app to
mallum> start up - even a simple one. I run pygtk on a low end machine (
mallum> an ipaq ) and start up times are very slow indeed ( 30 secs )
mallum> for very simple apps.
Have you done any investigation of the problem other than to record how long
it takes to start your script? On my laptop starting a simple script (two
buttons in a vbox in a window - a total of 28 imports) takes about 0.3
seconds. I will assume your ipaq is somewhat slower than my linux laptop,
but I doubt it's 100x slower unless you're paging like crazy (got enough
memory).
First place I'd start poking around is to run the script using "python -v"
to see if there are any pregnant pauses during import. After that, try the
profile module (part of core Python) and the trace script
(.../Tools/scripts/trace.py in the standard distribution).
--
Skip Montanaro ([EMAIL PROTECTED])
(847)971-7098
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk