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

Itamar Turner-Trauring itamar at futurefoundries.com
Tue Sep 4 19:26:13 MDT 2012


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.

-- 
Itamar Turner-Trauring, Future Foundries LLC
http://futurefoundries.com/ — Twisted consulting, training and support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20120904/80bee7df/attachment-0001.html>


More information about the Twisted-Python mailing list