[Twisted-Python] Instrumenting Reactors

Michael Thompson michaelnt at gmail.com
Thu Apr 7 02:45:43 EDT 2011


On 6 April 2011 10:55, Paul Thomas <spongelavapaul at googlemail.com> wrote:
> 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?

You can time blocking calls by instrumenting
twisted.python.log.callWithContext and you could try writing the
timing info to something fast, like Redis.

Michael



More information about the Twisted-Python mailing list