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

Jason J. W. Williams jasonjwwilliams at gmail.com
Tue Aug 10 14:55:09 MDT 2010


This doesn't seem to work either. Also on 8.2.0.

-J

On Fri, Aug 6, 2010 at 9:42 PM, Paul Goins <general at vultaire.net> wrote:
> 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
>>
>>
>
>
> _______________________________________________
> 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