OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

Feature/performance test

Open seanmcguire12 opened this issue 1 year ago • 2 comments

This PR creates performance tests for evaluating the various replay strategies against a constant (recording(s) in the database). Work in progress.

Summary

This PR addresses #704

Checklist

  • [ ] My code follows the style guidelines of OpenAdapt
  • [x] I have performed a self-review of my code
  • [ ] If applicable, I have added tests to prove my fix is functional/effective
  • [ ] I have linted my code locally prior to submission
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation (e.g. README.md, requirements.txt)
  • [ ] New and existing unit tests pass locally with my changes

How can your code be run and tested?

This code can be run with pytest -s /OpenAdapt/tests/openadapt/test_performance.py

seanmcguire12 avatar Jun 13 '24 18:06 seanmcguire12

Related: https://github.com/OpenAdaptAI/OpenAdapt/issues/707

abrichr avatar Jun 14 '24 16:06 abrichr

Looks great so far, thank you @seanmcguire12 ! 🙏

abrichr avatar Jun 18 '24 02:06 abrichr