[Twisted-Python] profiling live twisted application
itamar at itamarst.org
Fri Nov 9 10:05:09 EST 2007
On Thu, 2007-11-08 at 14:19 -0800, Alec Matusis wrote:
> What is the best non-intrusive way to profile a live twisted
twistd has a --profile option; you can get it to use either profile.py
or hotshot. At some point it will hopefully support cProfile. You could
also just use cProfile directly.
The problem of course is that this doesn't tell you when I/O is a
bottleneck, nor does it tell you which high-level tasks are the problem.
More information about the Twisted-Python