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):
>          u.urlopen("http://localhost/WK/perftest.py";)
>
> Now, it es even slower!
>
> 55250 function calls (55215 primitive calls) in 1.040 CPU seconds
>
> ????

I'm quite sure that you've tested something, but probably not what you 
intended to test.
First of all, Benchmarking is quite difficult.
The method, you are using (profile) is good, if you want to know the number of 
function calls and the relative times the program spends inside them.
You are basicly measuring, how urllib.urlopen behaves. 
The measuring overhead with profile is so heavy, that the absolute numbers 
have no meaning whatsoever.
In order to get any meaningfull numbers, you should use some
Load and Performance Test Tools that have nothing to do with Python.
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. 

Stephan
>
> --
> Greg


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to