Skip to content

Add CodSpeed performance benchmarking integration#5

Merged
IntegerAlex merged 1 commit into
masterfrom
setup-codspeed-1770296211574
Feb 5, 2026
Merged

Add CodSpeed performance benchmarking integration#5
IntegerAlex merged 1 commit into
masterfrom
setup-codspeed-1770296211574

Conversation

@codspeed-hq
Copy link
Copy Markdown
Contributor

@codspeed-hq codspeed-hq Bot commented Feb 5, 2026

Summary

This PR integrates CodSpeed for continuous performance monitoring of the Kakashi logging library. CodSpeed provides accurate, reproducible performance measurements in CI environments using specialized instrumentation.

Changes Made

  • Added pytest-codspeed 4.2.0 as a development dependency
  • Created .github/workflows/codspeed.yml workflow with OIDC authentication
  • Updated performance_tests/requirements.txt to include pytest-codspeed
  • Added CodSpeed badge to README.md

Integration Details

  • Compatibility: pytest-codspeed is fully backward compatible with existing pytest-benchmark tests
  • Authentication: Uses OIDC (OpenID Connect) for secure, tokenless authentication
  • Mode: Configured with simulation mode for consistent measurements
  • Trigger: Runs on pushes to main/master and on pull requests

Testing

All existing performance benchmarks have been verified to work with CodSpeed:

  • 12 performance tests successfully execute with --codspeed flag
  • Both walltime and simulation modes tested locally
  • Benchmarks include throughput, concurrency, latency, and scalability tests

Next Steps

Once this PR is merged:

  1. CodSpeed will begin tracking performance metrics for all future commits
  2. Pull requests will receive automated performance reports
  3. Performance regressions will be detected before merging

The CodSpeed dashboard will be available at: https://codspeed.io/IntegerAlex/kakashi

- Add pytest-codspeed 4.2.0 for continuous performance monitoring
- Create GitHub Actions workflow with OIDC authentication
- Configure simulation mode for consistent measurements
- Add CodSpeed badge to README
- Update performance_tests requirements

All existing pytest-benchmark tests are fully compatible with CodSpeed.
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kakashi Ready Ready Preview, Comment Feb 5, 2026 1:01pm

@IntegerAlex IntegerAlex marked this pull request as ready for review February 5, 2026 13:09
@IntegerAlex IntegerAlex merged commit bcf6adb into master Feb 5, 2026
5 of 6 checks 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