GUI Frameworks in Python?

Peter Maas fpetermaas at netscape.net
Tue Mar 30 10:34:04 EST 2004


Peter Hansen wrote:
> The first time I launched IDLE, it took almost three seconds.  (I don't
> have the Python installer compile .py files ahead of time.)  After that
> it takes about one second as well.

Compiling is not the problem. The time for first launch is spent
for loading ~ 10 MB of executables into memory. I tried this
on my Win2000, 800 MHz, 256 MByte computer:

- start wxpython app (stand alone tree.py from the demo): ~ 3-4 sec
- repeat start: < 1 sec
- delete *.pyc, repeat start: < 1 sec
- reboot, repeat start with *.pyc: ~ 3-4 sec

I was watching system performance simultaneously and noticed a
decrease of free RAM memory by ~ 10 MB on starting and the same
increase on stopping. But the dlls - once loaded - apparently
are kept in RAM.

Mit freundlichen Gruessen,

Peter Maas

-- 
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas at mplusr.de
-------------------------------------------------------------------



More information about the Python-list mailing list