-
Notifications
You must be signed in to change notification settings - Fork 26
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
Reduce testing time/memory #914
Comments
one could combine all these tests into one function, computing everything at once to save time: DESC/tests/test_stability_funs.py Line 71 in 664a562
DESC/tests/test_stability_funs.py Line 174 in 664a562
DESC/tests/test_stability_funs.py Line 127 in 664a562
etc. |
For reference, here's a breakdown of all the unit tests and how long they take total time is over 2hrs |
DESC/tests/test_objective_funs.py Line 984 in 95612fa
we could make this test use the |
maybe we could reduce the number of examples we have? or move some to "not tested" part of examples so it still exists but people know not to expect it to work all the time? Or edit input file to run faster (avoid continuation method, reduce res,, etc) |
We don't do that many actual examples, I think its just DSHAPE, HELIOTRON and ATF. I don't think we can get rid of any of those without missing some important code paths |
Running our basic unit tests now takes 1.5+ hrs for me locally, and fairly often it will get killed due to OOM issues if I'm trying to do anything else at the same time.
A few suggestions:
desc.examples.get
since in most cases we don't need all the detailThe text was updated successfully, but these errors were encountered: