Hi,
I am evaluationg using Webware instead of plain python CGI.
I therefore run some benchmark tests, and discovered that there is no
difference in time needed between the webware and the cgi script.
I am a little bit surprised, because I thought webware must be
theoretically faster, because
On Tuesday 20 September 2005 08:50, Gregor Horvath wrote:
Hi,
I am evaluationg using Webware instead of plain python CGI.
[...]
def testcgi():
for i in range(100):
u.urlopen(http://localhost/cgi-bin/perftestcgi.py;)
def testwebware():
for i in range(100):
Try reloading a quick acting cgi page 100 times over. Thats where the
diference lies.
On Tue, 20 Sep 2005, Gregor Horvath wrote:
Hi,
I am evaluationg using Webware instead of plain python CGI.
I therefore run some benchmark tests, and discovered that there is no
difference in time needed
On 9/19/05, Gregor Horvath [EMAIL PROTECTED] wrote:
Hi,
I am evaluationg using Webware instead of plain python CGI.
I therefore run some benchmark tests, and discovered that there is no
difference in time needed between the webware and the cgi script.
I am a little bit surprised, because I
On 9/20/05, Stephan Diehl [EMAIL PROTECTED] wrote:
On Tuesday 20 September 2005 08:50, Gregor Horvath wrote:
Hi,
I am evaluationg using Webware instead of plain python CGI.
[...]
def testcgi():
for i in range(100):
u.urlopen(http://localhost/cgi-bin/perftestcgi.py;)
Gregor Horvath wrote:
Do you have a explanantion for that? Are my benchmarks wrong, or is it
just the thruth that under this circumstances cgi is as fast as webware.
You seem to be using the Python CGI adapter with Webware. Under this
circumstances, you will really see no difference.
CGI
Hi Gregor,
On Tuesday 20 September 2005 09:58, you wrote:
Hi,
Stephan Diehl schrieb:
Please try mod_webware as an adapter as it is the fastest way to connect
to a webware application server.
I installed the mod_webware adapater and changed
def testwebware():
for i in range(100):
Stephan Diehl wrote:
I've never needed to do this kind of tests, so I can't recommend any, but I'm
sure that several people on this list know the right kind of tools.
apache bench should be the right tool for this job.
http://httpd.apache.org/docs/1.3/programs/ab.html
regards,
robert
Hi everbody,
thanks for your input. I changed the test function according to Chucks
suggestion and the results are:
duration of function testcgi at 0x401986f4 is 532.231880903
duration of function testwebware at 0x40591df4 is 127.881435156
duration of function testwebwarewkcgi at 0x40591e2c is