A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-August/091131.html below:

[Python-Dev] how to debug httplib slowness

[Python-Dev] how to debug httplib slowness [Python-Dev] how to debug httplib slownessChris Withers chris at simplistix.co.uk
Wed Aug 12 15:40:56 CEST 2009
Antoine Pitrou wrote:
> Chris Withers <chris <at> 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. 

Well, it's locked at 25% on a quad core box, so yeah, I'd say something 
is wrong ;-)

I guess I could try profile it and finding out where most of the time is 
being spent?

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4