[Twisted-Python] twisted profiling help

James Y Knight foom at fuhm.net
Thu Jun 2 16:57:21 EDT 2005

On Jun 2, 2005, at 3:17 PM, Yun Mao wrote:

> Part of my profiling result of a high speed transfer test is attached.
> What might that <string>:1(connect_ex) be? I only created 2 or 3  
> TCP connections, but there are 24655 calls.

<string>:1(connect_ex) is part of the utterly stupid wrapper object  
that python has in socket.py around the real _socket module. Either  
you have a client that has tried to connect 24655 times, or the  
profiler is lying to you.


More information about the Twisted-Python mailing list