[Twisted-Python] CPU usage.

Itamar Turner-Trauring itamar at itamarst.org
Thu Apr 26 06:00:35 EDT 2012

On 04/26/2012 02:14 AM, 黄 轶明 wrote:
> hi
> I use twisted to build some web services, using twistd to start a application.
> When I start the twistd, and without any connection, the cpu usage of twistd process comes to about 10%.
> I don't think it's normal. I think it should be much low than this num.
> But I don't know how to find the problem is.Would anyone be pleased to help me?
Twisted doesn't use 10% CPU by default; chances are it's some code you 
wrote. Have you tried using a profiler (e.g. cProfile)?

More information about the Twisted-Python mailing list