OpenAdapt
OpenAdapt copied to clipboard
Feature/performance test
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
Related: https://github.com/OpenAdaptAI/OpenAdapt/issues/707
Looks great so far, thank you @seanmcguire12 ! 🙏