Conversation
- Add pytest-codspeed 4.2.0 to requirements.txt - Create comprehensive benchmarks in tests/test_benchmarks.py - Add GitHub Actions workflow for CodSpeed integration - Add CodSpeed badge to README
1ea72a9 to
4c193a3
Compare
f97ee5a to
e0a9e81
Compare
ebb07ee to
ff9b87d
Compare
Contributor
Author
CodSpeed Performance ReportCongrats! CodSpeed is installed 🎉
You will start to see performance impacts in the reports once the benchmarks are run from your default branch.
|
Merged
aminalaee
added a commit
that referenced
this pull request
Jan 14, 2026
Co-authored-by: Amin Alaee <amin.alaee.zaviyeh@postnl.nl>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR integrates CodSpeed for continuous performance monitoring of the uuid-utils library. CodSpeed provides accurate, reproducible performance measurements in CI environments using specialized instrumentation.
Changes Made
pytest-codspeed(v4.2.0) to project dependencies inrequirements.txttests/test_benchmarks.pycovering:.github/workflows/codspeed.ymlwith:How It Works
The new benchmark suite uses pytest-codspeed's
@pytest.mark.benchmarkdecorator to measure individual operations. Each benchmark compares stdlib UUID operations against uuid-utils implementations, allowing CodSpeed to track performance differences over time.The GitHub Actions workflow builds the Rust extension using maturin, installs dependencies, and runs the benchmarks with CodSpeed's instrumentation to generate performance profiles.
Next Steps
After merging this PR:
The CodSpeed badge in the README will automatically update to show the latest performance status.