Let me ask this: if you use the exact same command line, but change "--profiler cprofile" to "--profiler profile"", is the file generated?
- Paul Goins On 8/11/2010 6:39 AM, Jason J. W. Williams wrote: > I'm not sure what's wrong then. Tried your command line and got > nothing written. Tried it with 10.1 and same deal. I'll keep hacking > at it. > > -J > > On Tue, Aug 10, 2010 at 3:20 PM,<exar...@twistedmatrix.com> wrote: >> On 08:55 pm, jasonjwwilli...@gmail.com wrote: >>> This doesn't seem to work either. Also on 8.2.0. >> >> This works for me: >> >> twistd --savestats --profiler cprofile -n --profile prof.stats web >> >> prof.stats is written and contains a binary dump of the profile data. >> This also works: >> >> twistd --profiler cprofile -n --profile prof.stats web >> >> and produces a prof.stats containing a plaintext dump of the profile. >> >> I tested on the 8.2 release branch, which should be the same as the 8.2 >> release. I used Python 2.6 on Ubuntu 9.10. >> >> Jean-Paul >> >> _______________________________________________ >> Twisted-Python mailing list >> Twisted-Python@twistedmatrix.com >> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python >> > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > > _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python