[mod_python] ApplicationPath kills performance?

Jim Gallacher jg.lists at sympatico.ca
Wed Sep 14 22:45:41 EDT 2005


Jason Stubbs wrote:
> Just a little bump...

Consider it bumped. I've verified the behaviour on the dev branch and 
will investigate further. Interestingly it runs at full speed with
  ab -c 1 -n 500.

Jim

> Jason Stubbs wrote:
> 
>> DirectoryIndex index.psp
>> AddHandler mod_python .psp
>> PythonHandler mod_python.psp
>> PythonPath "['/var/www/localhost/pythonlib']+sys.path"
>> PythonOption ApplicationPath /
>>
>> $ ./ab -c 5 -n 500 http://192.168.1.101/index.psp
>> ...
>> Requests per second:    3.85 [#/sec] (mean)
>>
>> However, after removing the ApplicationPath:
>>
>> Requests per second:    552.10 [#/sec] (mean)
> 
> 
> Note that sessions are not in use in the script.
> 
>> Obligatory version information is as follows:
>>
>> httpd       2.0.54-r9
>> mod_python  3.1.3-r1
>> python      2.4.1-r1
>> (-r components are Gentoo patch-levels)
>>
>> Any help would be appreciated.
> 
> 
> Still the same sentiment.
> 
> -- 
> Jason Stubbs
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 



More information about the Mod_python mailing list