[Python-Dev] how to debug httplib slowness
Guido van Rossum
guido at python.org
Wed Aug 12 17:07:32 CEST 2009
More information about the Python-Dev mailing list
Wed Aug 12 17:07:32 CEST 2009
- Previous message: [Python-Dev] how to debug httplib slowness
- Next message: [Python-Dev] how to debug httplib slowness
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Try instrumenting the actual calls to the lowest-level socket methods (recv() and send()) and log for each one the arguments, return time, and how long it took. You might see a pattern. Is this on Windows? It's embarrassing, we've had problems with socket speed on Windows since 1999 and they're still not gone... :-( On Wed, Aug 12, 2009 at 4:05 AM, Chris Withers<chris at simplistix.co.uk> wrote: > Hi All, > > I'd like to work on this issue: > > http://bugs.python.org/issue2576 > > Specifically, in my case, while IE can download a 150Mb file from a local > server in about 3 seconds, httplib takes over 20 minutes! > > However, I'm kinda stumped on where to start with debugging the difference. > I've tried upping the buffer size as suggested in the issue, but it's had no > effect... > > Any ideas? > > Chris > > -- > Simplistix - Content Management, Batch Processing & Python Consulting > - http://www.simplistix.co.uk > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/guido%40python.org > -- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] how to debug httplib slowness
- Next message: [Python-Dev] how to debug httplib slowness
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list