[Twisted-Python] Using cProfile instead of hotshot with twistd

Paul Goins general at vultaire.net
Fri Aug 6 23:42:56 EDT 2010

Add --savestats.  I'm on 8.2.0, but it probably should still work.

- Paul Goins

On 8/7/2010 8:20 AM, Jason J. W. Williams wrote:
> Hi,
> I'm having an issue using twistd with --profiler=cprofile. I was using
> hotshot, but there's a bug in loading big profile logs with it so I'm
> trying cProfile instead.
> The issue is that with --profiler=cprofile, the --profile=<filename>
> flag seems to be ignored. That is no profile file gets created. Any
> help is greatly appreciated.
> -J
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list