[Python-Dev] how to debug httplib slowness (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Wed Aug 12 13:37:12 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 ]
Chris Withers <chris simplistix.co.uk> writes:
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...
Then perhaps it's not the same bug. Please take a look at CPU utilization during the download. If Python takes close to 100% CPU, it might be due to the lack of buffering or any other suboptimal situation in the implementation. If Python takes close to 0%, then it's just waiting on data to arrive from the network...
- 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 ]