This is very rough and FWIW, hits per second averaged 6 times over
an hour on a quiet server. I was mostly trying to compare mod_php
against mod_python but I thought I'd throw in a simple Turbogears
"Hello World!" example too.

 Apache/2.0.54 (Ubuntu)
 DAV/2 SVN/1.2.0
 mod_python/3.1.3
 Python/2.4.2
 PHP/5.0.5-2ubuntu1.1
 mod_ssl/2.0.54 OpenSSL/0.9.7g

 ab -d -S -c 30 -n 1000 http://localhost/hw.html (or :8080/)

Results:

 hw.html                    = 1704
 mppsp/hw_dynamic.psp       =  742
 mppsp/hw_static.psp        =  806
 mppub/index.py             =  753
 mpraw/hw.py                = 1074
 hw/ (turbogears:8080)      =   37
 hw_cherrypy.py (chpy:8080) =  217
 hw_python.cgi              =   39

 hw_dynamic_class.php       =  687
 hw_dynamic_class_dbg.php   =  583
 hw_dynamic_function.php    =  727
 hw_dynamic_string.php      =  764
 hw_dynamic_traditional.php =  753
 hw_static.php              =  803

mppsp/hw_static.psp and hw_static.php are copies of hw.html

The above scripts are at http://motd.com/abtests_20060106.tgz

--markc

Reply via email to