The load time of Chandler wasn't the point of the test - the Chandler python files are not part of the zip, only the python core library. My primary goal for the test was to see if we could speed up the loading of the core python modules.
What will increase the load time of Chandler is another change I'll be making to the build - the pre-compiling of all .py files on each platform.
On Jul 27, 2005, at 12:45 PM, Alec Flett wrote:
I think unfortunately this isn't really testing the zipping of python files - just executing "pass" does not load any of the libraries from the .zipStarting chandler, headless chandler, or at least timing the hardhat tests would probably give different results, and probably something much closer to our target..In fact, if you could start headless chandler, (to load the repository code) run go(), (to load the twisted libraries, etc) and then quit, that would probably be the easiest way to get chandler-like startup times.Alec Mike Taylor wrote:After the discussion in IRC about putting the core python libraries into a zip file to speed startup times, I decided to run some tests to see if there was even chance of it making any difference.What I did was build a python24.zip file that only contained core compiled python files (*.py, *.pyc and *.pyo) and removed the same files from the disk.I then ran the following basic startup test under our "normal" RunPython environment and under one using the python24.zip./release/RunPython -c 'pass' OS normal python24.zip -------------- ------------- ------------- linux (ubuntu) real 0m0.117s real 0m0.071s user 0m0.069s user 0m0.027s sys 0m0.010s sys 0m0.008s os x (panther) real 0m0.501s real 0m0.148s user 0m0.150s user 0m0.070s sys 0m0.040s sys 0m0.030s disk space (w/o site-packages) python24.zip 3 meg lib/python2.4/ 17 megThe OS X computer was my powerbook, not exactly a speed demon, and the linux box was a fast server.--- Bear Build and Release Engineer Open Source Applications Foundation (OSAF) [EMAIL PROTECTED] http://www.osafoundation.org [EMAIL PROTECTED] http://code-bear.com PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29---------------------------------------------------------------------- --_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "Dev" mailing list http://lists.osafoundation.org/mailman/listinfo/dev
--- Bear Build and Release Engineer Open Source Applications Foundation (OSAF) [EMAIL PROTECTED] http://www.osafoundation.org [EMAIL PROTECTED] http://code-bear.com PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29
PGP.sig
Description: This is a digitally signed message part
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "Dev" mailing list http://lists.osafoundation.org/mailman/listinfo/dev
