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

2010-08-10 Thread Jason J. W. Williams
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, wrote: > On 08:55 pm, jasonjwwilli...@gmail.com wrote: >>This doesn't seem to work either. Also on 8.2.0. > > This work

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

2010-08-10 Thread exarkun
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

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

2010-08-10 Thread Jason J. W. Williams
This doesn't seem to work either. Also on 8.2.0. -J On Fri, Aug 6, 2010 at 9:42 PM, Paul Goins 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 --pr

Re: [Twisted-Python] Running tests in parallel with trial

2010-08-10 Thread exarkun
On 03:07 pm, j...@mumak.net wrote: >On Tue, Aug 10, 2010 at 3:58 PM, Free Ekanayaka >wrote: >>Hi, >> >>is there a way to tell trial run groups of tests in parallel in >>different processes? Something like the "-jN" option in zope- >>testrunner. >> >>Or alternatively, what's the recommended way t

Re: [Twisted-Python] Running tests in parallel with trial

2010-08-10 Thread Free Ekanayaka
Hey, |--==> On Tue, 10 Aug 2010 16:07:56 +0100, Jonathan Lange said: JL> On Tue, Aug 10, 2010 at 3:58 PM, Free Ekanayaka wrote: >>Hi, >> >>is there a way to tell trial run groups of tests in parallel in >>different processes? Something like the "-jN" option in zope-testrunner. >>

Re: [Twisted-Python] Running tests in parallel with trial

2010-08-10 Thread Jonathan Lange
On Tue, Aug 10, 2010 at 3:58 PM, Free Ekanayaka wrote: > Hi, > > is there a way to tell trial run groups of tests in parallel in > different processes? Something like the "-jN" option in zope-testrunner. > > Or alternatively, what's the recommended way to make better use of > multi-core CPUs when

[Twisted-Python] Running tests in parallel with trial

2010-08-10 Thread Free Ekanayaka
Hi, is there a way to tell trial run groups of tests in parallel in different processes? Something like the "-jN" option in zope-testrunner. Or alternatively, what's the recommended way to make better use of multi-core CPUs when running a test suite with trial? Thanks, Free ___