feat: Add some benches and integrate with Cosdpeed#62
feat: Add some benches and integrate with Cosdpeed#62larseggert wants to merge 1 commit intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #62 +/- ##
=======================================
Coverage 88.72% 88.72%
=======================================
Files 2 2
Lines 754 754
Branches 754 754
=======================================
Hits 669 669
Misses 77 77
Partials 8 8
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
9b2b79b to
5176589
Compare
Congrats! CodSpeed is installed 🎉
You will start to see performance impacts in the reports once the benchmarks are run from your default branch.
|
There was a problem hiding this comment.
Pull request overview
Adds a benchmark suite for the happy-eyeballs state machine and wires it into CI via CodSpeed to track performance over time.
Changes:
- Added
divan-style benchmarks covering several Happy Eyeballs scenarios (IPv6-only, dual-stack racing, HTTPS/ECH, many endpoints). - Integrated CodSpeed-compatible Divan dependency and registered the
happy_eyeballsbench target. - Updated CI to run CodSpeed benchmarks and expanded coverage command to include all targets.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
benches/happy_eyeballs.rs |
New Divan/CodSpeed-compatible benchmark scenarios for the state machine. |
Cargo.toml |
Adds CodSpeed Divan compat dev-dependency and declares the bench target (no harness). |
Cargo.lock |
Locks new transitive dependencies introduced by CodSpeed/Divan compat. |
.github/workflows/rust.yml |
Runs cargo bench --bench happy_eyeballs via CodSpeed; adjusts coverage run to --all-targets. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5176589 to
2d0d58c
Compare
b12ebab to
dd4addb
Compare
dd4addb to
113191e
Compare
|
@mxinden ready from my side. Can tweak the actual benches in follow-up PRs. |
No description provided.