Set up CodSpeed performance measurement - #1
Open
codspeed-hq[bot] wants to merge 1 commit into
Open
Conversation
Author
Congrats! CodSpeed is installed 🎉
You will start to see performance impacts in the reports once the benchmarks are run from your default branch.
|
trevored-py
pushed a commit
that referenced
this pull request
May 16, 2026
perf improvements for adriencaccia
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 fixes the existing CodSpeed CI workflow so it runs correctly on a personal GitHub account, and adds a CodSpeed badge to the README.
Changes
CI Workflow (
.github/workflows/codspeed.yml)codspeed-macrotoubuntu-latest. Macro runners are only available for organization repositories, not personal accounts.arm64-freethreadedtox64-freethreadedto match the x64 architecture ofubuntu-latestrunners.README
Note on walltime variance
Because this is a personal account,
codspeed-macrorunners are not available. The workflow usesubuntu-latestinstead, which means walltime measurements will have significantly higher variance than with dedicated bare-metal runners. For more details, see the walltime documentation on personal accounts.Benchmarks validated locally
All 6 benchmarks across the 3 rounds were validated and pass:
test_bench_compute_histogram[baseline]/[solution]test_bench_find_corruptions[baseline]/[solution]test_bench_find_matches[baseline]/[solution]Next steps
codspeed-macrofor lower-variance walltime measurements.DATASET_SEEDsecret to make generated datasets reproducible across CI runs.