[Twisted-Python] Instrumenting Reactors

Paul Thomas spongelavapaul at googlemail.com
Wed Apr 6 05:55:25 EDT 2011


I have a reactor which is getting busier over time and I'd like to find out where the cycles are going. Using the profiler isn't really practical on a server running for days, so I'd like to instrument the reactor to show me which I/O events are taking the longest to deal with. 

Should I just hack into the reactor somewhere? Or is there something sitting in a library I haven't seen that will help with this?

Paul. 



More information about the Twisted-Python mailing list