Skip to content

Add CodSpeed continuous performance monitoring#65

Closed
codspeed-hq[bot] wants to merge 1 commit into
mainfrom
setup-codspeed-1770548692387
Closed

Add CodSpeed continuous performance monitoring#65
codspeed-hq[bot] wants to merge 1 commit into
mainfrom
setup-codspeed-1770548692387

Conversation

@codspeed-hq

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

Copy link
Copy Markdown

Summary

This PR integrates CodSpeed for continuous performance monitoring of the PRECIS Framework benchmarks.

Changes Made

  • Updated precis-core and precis-profiles to use codspeed-criterion-compat v4.3.0 via dependency renaming
  • Created GitHub Actions workflow (.github/workflows/codspeed.yml) to run benchmarks on every push and PR
  • Added CodSpeed badge to README for visibility of performance trends
  • Configured workflow to use simulation mode with OIDC authentication

Benefits

  • Automated performance regression detection in CI
  • Detailed flame graphs and execution profiles for performance analysis
  • Historical performance trend tracking across commits
  • No code changes required in benchmark files - drop-in compatibility layer

Testing

  • Verified benchmarks build successfully with cargo codspeed build
  • Confirmed benchmarks run correctly with cargo codspeed run
  • Validated CodSpeed CLI integration with simulation mode

Next Steps

After merging, CodSpeed will automatically:

  1. Start tracking performance metrics for all benchmark runs
  2. Generate performance reports on pull requests
  3. Create flame graphs for detailed performance analysis

For more information, visit the CodSpeed documentation.

Integrate CodSpeed for automated performance tracking of PRECIS Framework
benchmarks using the criterion.rs compatibility layer.
@codecov

codecov Bot commented Feb 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.34%. Comparing base (8e6867d) to head (7b9efe8).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
- Coverage   97.81%   95.34%   -2.48%     
==========================================
  Files          18       10       -8     
  Lines        1512      580     -932     
==========================================
- Hits         1479      553     -926     
+ Misses         33       27       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sancane sancane marked this pull request as ready for review February 8, 2026 11:19
@sancane sancane closed this Feb 8, 2026
@sancane sancane deleted the setup-codspeed-1770548692387 branch February 8, 2026 11:20
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