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
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
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:
>>
>>
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 [
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