-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEST: Tests for grid_tools take a long time #109
Comments
These long-running tests are actually meant to measure performance by comparing with numpy. |
@albop thanks of the comments. I ended up just having nose run the test file(s) relevant to what I was changing so this wasn't a big issue. I think if we were to implement a suite of performance tests that are monitored via vbench (as suggested in #44) that these tests would be perfect for there. I think we have talked about why they are slow -- feel free to close this unless you are planning on changing something and want to leave it open as a reminder. |
Sure. Let's wait for the vbench to emerge and close the issue afterwards so that we don't forget about these few lines of code. |
See update to #44. Is |
Can we add |
I just ran the tests on my machine and got the following printout:
I checked and if I run only this test in test_cartesian.py I get:
Similar timings for the
test_performance_F
function:These two tests account for about 2/3 of the total testing time. Is there a way we can not run these tests by default, or at least have their run time not take so long?
We could probably still update the travis script to make sure they are checked by travis.
@albop any ideas?
The text was updated successfully, but these errors were encountered: