Re: GUI Frameworks in Python?

From: Peter Maas (fpetermaas_at_netscape.net)
Date: 03/30/04


Date: Tue, 30 Mar 2004 17:34:04 +0200

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@mplusr.de
-------------------------------------------------------------------


Relevant Pages

  • Re: GUI Frameworks in Python?
    ... > The first time I launched IDLE, ... > have the Python installer compile .py files ahead of time.) ... reboot, I get 1.1 seconds. ...
    (comp.lang.python)
  • Re: The Tull Thread proves conclusively...,
    ... Love bands for me-I saw them several times in the 70's and Peter ... Gabriel solo once. ... When I saw Bruce the first time in '78, ... jam bands like the Grateful Dead or Pearl -for the others of us, ...
    (rec.music.artists.springsteen)
  • Re: 1.04 Mb with nothing in file ???
    ... "Peter T" wrote: ... There can be a 2-3 fold difference in size between totally ... (after running code for first time). ... file and Excel + VBE just before the save? ...
    (microsoft.public.excel.programming)
  • Re: The Cure for Heart Disease Has Been Known For Many Years
    ... Way beyond interesting Peter. ... Although I've read some on Rath this is ... the first time I've read WHY his protocal works. ... Very disturbing so say the least. ...
    (misc.health.alternative)
  • Re: Wifes Install
    ... But, Peter, haven't you noticed that everytime you and others tell him that, ... :>> This install has been a pain since day one. ... First time I installed I ... She plays games on king.com and ...
    (microsoft.public.windowsxp.newusers)