httplib incredibly slow :-(
dieter at handshake.de
Sat Aug 15 06:41:20 CEST 2009
Chris Withers <chris at simplistix.co.uk> writes on Thu, 13 Aug 2009 08:20:37 +0100:
> I've already established that the file downloads in seconds with
> [something else], so I'd like to understand why python isn't doing the
> same and fix the problem...
A profile might help to understand what the time is used for.
As almost all operations are not done in Python itself ("httplib" is really
a very tiny wrapper above a socket), a C level profile may be necessary
to understand the behaviour.
More information about the Python-list