Skip to content

Comments

Automatic performance benchmarking#93

Merged
fjwillemsen merged 17 commits intomainfrom
performance_tests
Feb 13, 2025
Merged

Automatic performance benchmarking#93
fjwillemsen merged 17 commits intomainfrom
performance_tests

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