[Python-Dev] how to debug httplib slowness (original) (raw)

Chris Withers chris at simplistix.co.uk
Fri Sep 4 21:04:49 CEST 2009


Guido van Rossum wrote:

+1 on trying this. Constructing a 116MB string by concatenating 1KB buffers surely must take forever. (116MB divided by 85125 recv() calls give 1365 byte per chunk, which is awful.) The HTTP/1.0 business looks like a red herring.

Also agreed that this is an embarrassment.

Embarrassment eradicated ;-)

http://bugs.python.org/issue6838

Chris

-- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk



More information about the Python-Dev mailing list