[Twisted-Python] Profiling problem: "bad marshal data"

Peter Westlake peter.westlake at pobox.com
Wed Sep 5 06:01:38 EDT 2012



On Wed, Sep 5, 2012, at 02:26, Itamar Turner-Trauring wrote:
> On Mon, Sep 3, 2012 at 12:10 PM, Peter Westlake
> <peter.westlake at pobox.com>wrote:
> 
> > An output file generated with cProfile.run() can be read.
> > Running twistd without --savestats generates a valid-looking
> > textual report.
> >
> 
> This may be because the default profiler twistd uses is hotshot; try
> --profiler=cprofile or --profiler=profile.

That was it, thanks! I used cprofile, and it works.

Peter.



More information about the Twisted-Python mailing list