Re: [Web-SIG] Fwd: wsgiref.simple_server slow on slow network

2008-07-21 Thread Graham Dumpleton
And what happens if you actually supply a content length in your response? 2008/7/22 Tibor Arpas <[EMAIL PROTECTED]>: > Hi, > I'm quite new to python and I ran into a performance problem with > wsgiref.simple_server. I'm running this little program. > > from wsgiref import simple_server > > def ap

[Web-SIG] Fwd: Fwd: wsgiref.simple_server slow on slow network

2008-07-21 Thread Tibor Arpas
Thanks Robert, I tried this but no difference :-(. I made sure I changed the right source code. On Mon, Jul 21, 2008 at 6:28 PM, Robert Brewer <[EMAIL PROTECTED]> wrote: > Tibor Arpas wrote: >> I'm quite new to python and I ran into a performance problem with >> wsgiref.simple_server. I'm runnin

[Web-SIG] Fwd: Fwd: wsgiref.simple_server slow on slow network

2008-07-21 Thread Tibor Arpas
I can see the 3 seconds / 150 miliseconds difference in a browser and to get exact numbers I use Apache ab . On Mon, Jul 21, 2008 at 6:26 PM, Ionel Maries Cristian <[EMAIL PROTECTED]> wrote: > how are you benchmarking? > > On Mon, Jul 21, 2008 at 18:40, Tibor Arpas <[EMAIL PROTECTED]> wrote: >> >>

Re: [Web-SIG] Fwd: wsgiref.simple_server slow on slow network

2008-07-21 Thread Robert Brewer
Tibor Arpas wrote: > I'm quite new to python and I ran into a performance problem with > wsgiref.simple_server. I'm running this little program. > > from wsgiref import simple_server > > def app(environ, start_response): >start_response('200 OK', [('content-type', 'text/html')]) >return [

[Web-SIG] Fwd: wsgiref.simple_server slow on slow network

2008-07-21 Thread Tibor Arpas
Hi, I'm quite new to python and I ran into a performance problem with wsgiref.simple_server. I'm running this little program. from wsgiref import simple_server def app(environ, start_response): start_response('200 OK', [('content-type', 'text/html')]) return ['*'*5] httpd = simple_serv