Server-side script takes way too long to launch
joshbloom at gmail.com
Tue Mar 13 18:12:35 CET 2007
Teresa, when you call a python script this way, the server needs to load the
python interpreter for each call.
If you need faster execution you should look into having a server process
running already. Something like mod_python for apache or CherryPy will help
you speed this up.
On 3/13/07, Teresa Hardy <thardy99 at gmail.com> wrote:
> I have a webpage calling a python script, using Apache
> I am using Firefox, WindowsXP Python 2.4
> I can count to 13 from the time I click to the time the browser finds the
> The python runs okay when I finally get to it. In the first step it just
> launches a Flash file. I benchmarked the time thru the python code and it
> isn't the slow part. It's the launch. Forgive me if I am not explaining this
> well. I am pretty much teaching myself...fumbling thru the process.
> Any suggestions on how to speed up the first step?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list