Skip to content

Conversation

@amcnicho
Copy link
Contributor

This branch demonstrates the basic configuration and usage of pytest-benchmark. It adapts existing test cases from tests/unit/ (in new files, although this is not strictly necessary) and the holog test from the asv demo.
The new tests can be invoked using the following command:
pytest tests/benchmark/ --benchmark-min-rounds=5 --benchmark-max-time=60.0 --benchmark-only --benchmark-verbose --benchmark-histogram=demo --benchmark-storage=/Users/amcnicho/clones/astrohack/ -W ignore::DeprecationWarning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants