ci: run benchmarks using Codspeed#80
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #80 +/- ##
=======================================
Coverage 93.62% 93.62%
=======================================
Files 5 5
Lines 188 188
=======================================
Hits 176 176
Misses 6 6
Partials 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This pull request adds a new GitHub Actions workflow to run Go benchmarks using CodSpeed, a continuous benchmarking platform. The workflow is triggered on pushes to the master branch, pull requests, and manual workflow dispatches.
Key Changes:
- Adds a new benchmark workflow file that integrates with CodSpeed for performance tracking
- Configures the workflow to run all Go benchmarks in the repository using
go test -bench=. - Uses CodSpeed's specialized runner (
codspeed-macro) for consistent benchmark measurements
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - uses: actions/checkout@v6 | ||
| - uses: actions/setup-go@v6 | ||
| with: | ||
| go-version: "1.25.x" |
There was a problem hiding this comment.
go-version is set to 1.25.x, which doesn’t exist. Consider using a valid release (e.g., 1.22.x) so actions/setup-go can install it.
| go-version: "1.25.x" | |
| go-version: "1.22.x" |
🚀 Want me to fix this? Reply ex: "fix it for me".
There was a problem hiding this comment.
What an utter nonsense.
07fb2a1 to
9f4564c
Compare
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.
|
Add CodSpeed benchmark job to CI to run Go benchmarks on push to master, pull requests, and manual dispatch using walltime mode on the codspeed-macro runner
Add a 'Benchmarks' GitHub Actions workflow that checks out code, sets up Go 1.25.x, and runs
CodSpeedHQ/action@v4withmode=walltimeexecutinggo test -run=^$ -bench=. ./...on thecodspeed-macrorunner.📍Where to Start
Start with the workflow definition in benchmark.yml.
Macroscope summarized 9f4564c.