Skip to content

add recv bench#122

Merged
wokron merged 1 commit into
masterfrom
recv-example
May 24, 2026
Merged

add recv bench#122
wokron merged 1 commit into
masterfrom
recv-example

Conversation

@wokron
Copy link
Copy Markdown
Member

@wokron wokron commented May 23, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new benchmark program to compare Condy vs raw io_uring performance for TCP recv() in single-shot and multishot modes, and wires it into the benchmarks build.

Changes:

  • Added benchmarks/recv.cpp implementing Condy (single/multishot) and raw io_uring (single/multishot) receive benchmarks plus a client-side stressor.
  • Added a new recv benchmark target to benchmarks/CMakeLists.txt.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
benchmarks/recv.cpp New TCP recv benchmark comparing Condy vs raw io_uring, including multishot buffer-ring usage and throughput/overhead reporting.
benchmarks/CMakeLists.txt Adds the recv executable target and links it with condy + uring.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread benchmarks/recv.cpp
Comment thread benchmarks/recv.cpp
Comment thread benchmarks/recv.cpp
Comment thread benchmarks/recv.cpp
Comment thread benchmarks/recv.cpp
@wokron wokron marked this pull request as ready for review May 23, 2026 07:18
@wokron wokron merged commit 5f1b387 into master May 24, 2026
13 checks passed
@wokron wokron deleted the recv-example branch May 24, 2026 03:19
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