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

way to escalate failure when comparing outside of pytest #273

Open
nico-ssi opened this issue Jan 8, 2025 · 0 comments
Open

way to escalate failure when comparing outside of pytest #273

nico-ssi opened this issue Jan 8, 2025 · 0 comments

Comments

@nico-ssi
Copy link

nico-ssi commented Jan 8, 2025

compare outside of pytest allows to compare 2 previous benchmark runs.

However, there is no way to do --benchmark-compare-fail outside of pytest.

Please consider providing a flag i.e.

pytest-benchmark compare 0001 0002 --fail=<stat>:<num>

Then return a non-zero exit status when the fail criteria is met.

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

No branches or pull requests

1 participant