Re: Debugging parallel nose tests?

Discussion in 'Python' started by Roy Smith, May 24, 2013.

  1. Roy Smith

    Roy Smith Guest

    On May 24, 2013, at 5:05 AM, Jean-Michel Pichavant wrote:

    > ----- Original Message -----
    >> In article <>,
    >> Dave Angel <> wrote:
    >>
    >>> On 05/23/2013 09:09 AM, Roy Smith wrote:
    >>>>
    >>>> <SNIP>
    >>>>
    >>>> nosetests --process-timeout=60 --processes=40 test_api.py
    >>>>
    >>>
    >>> Do you have a 40-processor system?

    >>
    >> No, but many of the tests are I/O bound.

    >
    > Sorry to hijack your thread but what do you mean by that ?


    That means that a lot of time running the test is spent waiting for I/O (in this case, network reads), as opposed to actually running on a CPU.

    > I have a lot of tests myself that spend most of their time writing and reading files. Should I try to multiprocess them ?


    Maybe :)

    --
    Roy Smith
    Roy Smith, May 24, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    882
  2. wade
    Replies:
    5
    Views:
    159
  3. dayo
    Replies:
    11
    Views:
    330
    Ilya Zakharevich
    Dec 16, 2005
  4. aminer
    Replies:
    0
    Views:
    341
    aminer
    Aug 11, 2012
  5. Roy Smith

    Debugging parallel nose tests?

    Roy Smith, May 23, 2013, in forum: Python
    Replies:
    3
    Views:
    89
    Roy Smith
    May 25, 2013
Loading...

Share This Page