Skip to content

Bench#102

Merged
sgerbino merged 2 commits intocppalliance:developfrom
sgerbino:feature/bench
Feb 4, 2026
Merged

Bench#102
sgerbino merged 2 commits intocppalliance:developfrom
sgerbino:feature/bench

Conversation

@sgerbino
Copy link
Collaborator

@sgerbino sgerbino commented Feb 4, 2026

No description provided.

Combine four separate benchmark executables into one for each library:
- asio_bench: unified Asio benchmarks with --category and --bench filters
- corosio_bench: unified Corosio benchmarks with --backend, --category, and --bench filters

Extract make_socket_pair into shared socket_utils.hpp to reduce duplication.
- Add warmup phase to all benchmarks to reduce variance
- Remove category headers from output
- Increase iterations for more stable results:
  - io_context: 5M handlers
  - socket_latency: 1M iterations
  - socket_throughput: 4GB transfer
  - http_server: 1M requests
@coderabbitai
Copy link

coderabbitai bot commented Feb 4, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (15)
  • bench/asio/CMakeLists.txt is excluded by !**/bench/**
  • bench/asio/benchmarks.hpp is excluded by !**/bench/**
  • bench/asio/http_server_bench.cpp is excluded by !**/bench/**
  • bench/asio/io_context_bench.cpp is excluded by !**/bench/**
  • bench/asio/main.cpp is excluded by !**/bench/**
  • bench/asio/socket_latency_bench.cpp is excluded by !**/bench/**
  • bench/asio/socket_throughput_bench.cpp is excluded by !**/bench/**
  • bench/asio/socket_utils.hpp is excluded by !**/bench/**
  • bench/corosio/CMakeLists.txt is excluded by !**/bench/**
  • bench/corosio/benchmarks.hpp is excluded by !**/bench/**
  • bench/corosio/http_server_bench.cpp is excluded by !**/bench/**
  • bench/corosio/io_context_bench.cpp is excluded by !**/bench/**
  • bench/corosio/main.cpp is excluded by !**/bench/**
  • bench/corosio/socket_latency_bench.cpp is excluded by !**/bench/**
  • bench/corosio/socket_throughput_bench.cpp is excluded by !**/bench/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Important

Action Needed: IP Allowlist Update

If your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:

  • 136.113.208.247/32 (new)
  • 34.170.211.100/32
  • 35.222.179.152/32

Reviews will stop working after February 8, 2026 if the new IP is not added to your allowlist.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.38%. Comparing base (73adb37) to head (b2c75b1).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #102      +/-   ##
===========================================
- Coverage    80.48%   80.38%   -0.10%     
===========================================
  Files           64       64              
  Lines         5344     5344              
===========================================
- Hits          4301     4296       -5     
- Misses        1043     1048       +5     

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73adb37...b2c75b1. Read the comment docs.

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

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://102.corosio.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-02-04 14:15:02 UTC

@cppalliance-bot
Copy link

GCOVR code coverage report https://102.corosio.prtest3.cppalliance.org/gcovr/index.html
LCOV code coverage report https://102.corosio.prtest3.cppalliance.org/genhtml/index.html
Coverage Diff Report https://102.corosio.prtest3.cppalliance.org/diff-report/index.html

Build time: 2026-02-04 14:19:50 UTC

@sgerbino sgerbino merged commit b0931df into cppalliance:develop Feb 4, 2026
24 of 31 checks passed
@sgerbino sgerbino deleted the feature/bench branch February 4, 2026 15:21
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.

2 participants