Skip to content
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

Improve speed of unit tests #104

Closed
7 tasks done
MTLehner opened this issue Oct 2, 2021 · 9 comments · Fixed by #131
Closed
7 tasks done

Improve speed of unit tests #104

MTLehner opened this issue Oct 2, 2021 · 9 comments · Fixed by #131
Assignees
Labels
enhancement New feature or request in progress question Further information is requested testing

Comments

@MTLehner
Copy link
Collaborator

MTLehner commented Oct 2, 2021

Can we improve the speed of the unit test?

A few points possible points:

  • reduce size of trajectories
    • trc
    • tre
    • trg (seem to take the longest)
  • remove unnecessary dependencies from conda incubator
  • TI submission
  • dummy submissions
@MTLehner MTLehner added enhancement New feature or request question Further information is requested testing labels Oct 2, 2021
@MTLehner
Copy link
Collaborator Author

MTLehner commented Oct 2, 2021

@schroederb do you have some input to this issue?

@MTLehner
Copy link
Collaborator Author

MTLehner commented Oct 2, 2021

Removing omnia will hopefully already speed up conda. This will be done in the pull request #103

@MTLehner MTLehner added this to To do in Release 3 🎉 Nov 19, 2021
@MTLehner MTLehner moved this from To do to In progress in Release 3 🎉 Nov 30, 2021
@MTLehner MTLehner linked a pull request Nov 30, 2021 that will close this issue
@MTLehner
Copy link
Collaborator Author

MTLehner commented Nov 30, 2021

TODO:

Test that take a long time and have to be shortened

  • test_repdat.py
  • test_simulation_runner_blocks.py

Additional test that should be added:

  • equal_after_copy for general files
  • Hvap_system
  • openFF2gromos
  • topo functions
  • ....?

more ideas welcome, @schroederb

@MTLehner
Copy link
Collaborator Author

MTLehner commented Feb 9, 2022

@schroederb can you work on the two test that still need to be shortened?

@MTLehner
Copy link
Collaborator Author

MTLehner commented Feb 9, 2022

Ideas for the additional test are also welcome

@RiesBen
Copy link
Collaborator

RiesBen commented Feb 10, 2022

@schroederb can you work on the two test that still need to be shortened?

I'll check it out.

@RiesBen
Copy link
Collaborator

RiesBen commented Feb 15, 2022

Unit test were not the problem. total time consumption is 1min 14s. The longest part of the CI is the system setup/environment installation (~10min). I assume this is due to the packages we defined in the conda env like Scipy and OpenFF.

@RiesBen
Copy link
Collaborator

RiesBen commented Feb 17, 2022

@MTLehner Can we close this issue?

@MTLehner
Copy link
Collaborator Author

Yep, we could try to reduce the dependencies and therefore the conda install time

Release 3 🎉 automation moved this from In progress to Done Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress question Further information is requested testing
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants