Running the test suite takes now about 5 minutes (single process,
faster with multiple processes)
The time it takes will get another jump when we merge the nonparametric branch.
Last week I started to do some profiling with nosetests, mainly to see
the impact of the L1 regularization merge.
Do we need to get more liberal in marking tests as "slow"?Â
I don't have too much of a problem with the time right now. For
development or checking specific parts we can run selected tests or
test files with nosetests.Â
This is still pretty fast as long the test files don't get too large.
For keeping master clean, we will have to run the full test suite
anyway, and it's much better if the test suite is large.
I don't know if there is much to gain streamlining the tests, but it
might be worth looking at the main "offenders".
On Mon, Oct 15, 2012 at 12:30 PM, <josef...@gmail.com> wrote:Running the test suite takes now about 5 minutes (single process,
faster with multiple processes)
The time it takes will get another jump when we merge the nonparametric branch.
Last week I started to do some profiling with nosetests, mainly to see
the impact of the L1 regularization merge.
Do we need to get more liberal in marking tests as "slow"?Â
I don't have too much of a problem with the time right now. For
development or checking specific parts we can run selected tests or
test files with nosetests.ÂThis is still pretty fast as long the test files don't get too large.
For keeping master clean, we will have to run the full test suite
anyway, and it's much better if the test suite is large.
I don't know if there is much to gain streamlining the tests, but it
might be worth looking at the main "offenders".
I think empirical likelihood increased the test run time by a considerable fraction. We should mark them slow and not run slow tests by default. I think the way `test` is now, we're still running the slow tests.As you can see from the recent stata-writer merge, I'm almost never running tests from the interpreter anymore.We also need to enable travis builds for merges.
On Mon, Oct 15, 2012 at 7:37 PM, Skipper Seabold <jsse...@gmail.com> wrote:
We also need to enable travis builds for merges.
Would be nice, but this is kind of tricky with scipy as a dependency. IIRC the default Travis behavior is to build all dependencies, and the scipy build will time out most of the time.
On 15 Oct 2012 19:50, "Ralf Gommers" <ralf.g...@gmail.com> wrote:
>
>
>
> On Mon, Oct 15, 2012 at 7:37 PM, Skipper Seabold <jsse...@gmail.com> wrote:
>>
>> On Mon, Oct 15, 2012 at 12:30 PM, <josef...@gmail.com> wrote:
>>>
>>> Running the test suite takes now about 5 minutes (single process,
>>> faster with multiple processes)
>>>
>>> The time it takes will get another jump when we merge the nonparametric branch.
>
>
> Working on this, right now the time it taken isn't really acceptable....
> Â
>>>
>>> Last week I started to do some profiling with nosetests, mainly to see
>>> the impact of the L1 regularization merge.
>>>
>>> Do we need to get more liberal in marking tests as "slow"?Â
>
>
> +1
> Â
>>>
>>>
>>> I don't have too much of a problem with the time right now. For
>>> development or checking specific parts we can run selected tests or
>>> test files with nosetests.Â
>>>
>>> This is still pretty fast as long the test files don't get too large.
>>>
>>> For keeping master clean, we will have to run the full test suite
>>> anyway, and it's much better if the test suite is large.
>>>
>>> I don't know if there is much to gain streamlining the tests, but it
>>> might be worth looking at the main "offenders".
>>>
>>
>> I think empirical likelihood increased the test run time by a considerable fraction. We should mark them slow and not run slow tests by default. I think the way `test` is now, we're still running the slow tests.
>>
>> As you can see from the recent stata-writer merge, I'm almost never running tests from the interpreter anymore.
>>
>> We also need to enable travis builds for merges.
>
>
> Would be nice, but this is kind of tricky with scipy as a dependency. IIRC the default Travis behavior is to build all dependencies, and the scipy build will time out most of the time.
If you don't need to control exactly which version of scipy you're testing against (or test against multiple versions), then you can just sudo apt-get install python-scipy in your Travis test script. Really like Ralf says it's the only option right now, but it's still much better than nothing.
-n
just an update here:
running the full tests "nosetests statsmodels" now takes about 9
minutes, after the George/Ralph nonparametric merge, using one
processor.
sm.test() is currently at 6 minutes and skips the "slow" tests. There
should be more tests marked as slow in future.