Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Automatic performance benchmarking #93

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

Merged
merged 17 commits into from
Feb 13, 2025
Merged

Automatic performance benchmarking #93

merged 17 commits into from
Feb 13, 2025

Conversation

fjwillemsen
Copy link
Member

This pull request adds automatic performance benchmarking to the tests to prevent performance degradation.
Using pytest-benchmark, it collects performance data on three real-world benchmark search spaces.
It also runs a microbenchmark to get a system performance factor.
If python-constraint performance on these benchmarks is lower than expected based on the reference results relative to the system performance factor, it throws an error.
Benchmark results are processed by the GH action benchmark and reported in the test workflow.

@fjwillemsen fjwillemsen self-assigned this Feb 13, 2025
@fjwillemsen fjwillemsen merged commit 37ff27e into main Feb 13, 2025
1 check passed
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.

1 participant